Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: lib/compiler/implementation/tree/nodes.dart

Issue 9956171: Minor fixes to remove some warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/compiler/implementation/scanner/parser_bench.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/tree/nodes.dart
diff --git a/lib/compiler/implementation/tree/nodes.dart b/lib/compiler/implementation/tree/nodes.dart
index eb98367a92dcb5626d6f712f5b9643d6f3f21b98..83280ae94b478c564d090dced20f07ce02ff5351 100644
--- a/lib/compiler/implementation/tree/nodes.dart
+++ b/lib/compiler/implementation/tree/nodes.dart
@@ -1375,7 +1375,7 @@ class SwitchCase extends Node {
LinkBuilder<Token> builder = new LinkBuilder<Token>();
Link<Expression> link = expressions.nodes;
while (token.stringValue === 'case') {
- assert(token.next === link.head.getBeginToken(0));
+ assert(token.next === link.head.getBeginToken());
builder.addLast(token);
Token colon = link.head.getEndToken().next;
token = colon.next;
« no previous file with comments | « lib/compiler/implementation/scanner/parser_bench.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698