Index: pkg/compiler/lib/src/parser/node_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart |
index 298afcab86a5e2a4ae62d0da60293ca4a6b4dfce..3bc4da1e549cf01a6dfee11b469b43131bdfc913 100644 |
--- a/pkg/compiler/lib/src/parser/node_listener.dart |
+++ b/pkg/compiler/lib/src/parser/node_listener.dart |
@@ -17,6 +17,8 @@ import '../tree/tree.dart'; |
import '../util/util.dart' show Link; |
import 'element_listener.dart' show ElementListener, ScannerOptions; |
+import 'package:front_end/src/fasta/parser/parser.dart' as fasta show Assert; |
+ |
class NodeListener extends ElementListener { |
NodeListener(ScannerOptions scannerOptions, DiagnosticReporter reporter, |
CompilationUnitElement element) |
@@ -961,7 +963,7 @@ class NodeListener extends ElementListener { |
} |
@override |
- void handleAssertStatement(Token assertKeyword, Token leftParenthesis, |
+ void endAssert(Token assertKeyword, fasta.Assert kind, Token leftParenthesis, |
Token commaToken, Token rightParenthesis, Token semicolonToken) { |
Node message; |
Node condition; |