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; |