Index: pkg/compiler/lib/src/parser/element_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/element_listener.dart b/pkg/compiler/lib/src/parser/element_listener.dart |
index 0366a37503b83cc822a441a1b0a77efc1377befb..1f1843385a178193a54083ab9ccee91713e06032 100644 |
--- a/pkg/compiler/lib/src/parser/element_listener.dart |
+++ b/pkg/compiler/lib/src/parser/element_listener.dart |
@@ -552,6 +552,8 @@ class ElementListener extends Listener { |
switch (message.code.dart2jsCode) { |
case "MISSING_TOKEN_BEFORE_THIS": |
String expected = arguments["string"]; |
+ // TODO(danrubel) This functionality is being replaced by |
+ // the parser's ensureSemicolon method. |
if (identical(";", expected)) { |
// When a semicolon is missing, it often leads to an error on the |
// following line. So we try to find the token preceding the semicolon |