Index: tests/compiler/dart2js/parser_helper.dart |
diff --git a/tests/compiler/dart2js/parser_helper.dart b/tests/compiler/dart2js/parser_helper.dart |
index 42634133d915475da556c63df03cd3d696af87c3..b789b06b325ac8e1568fcc0bbe1f903c7df093cb 100644 |
--- a/tests/compiler/dart2js/parser_helper.dart |
+++ b/tests/compiler/dart2js/parser_helper.dart |
@@ -7,6 +7,7 @@ library parser_helper; |
import 'package:expect/expect.dart'; |
import 'package:compiler/src/elements/elements.dart'; |
+import 'package:compiler/src/elements/entities.dart'; |
import 'package:compiler/src/id_generator.dart'; |
import 'package:compiler/src/tree/tree.dart'; |
import 'package:compiler/src/parser/element_listener.dart'; |
@@ -46,7 +47,7 @@ class LoggerCanceler extends DiagnosticReporter { |
print(message); |
} |
- void internalError(node, String message) { |
+ void internalError(Spannable node, message) { |
log(message); |
} |
@@ -79,7 +80,7 @@ class LoggerCanceler extends DiagnosticReporter { |
infos.forEach(log); |
} |
- withCurrentElement(Element element, f()) => f(); |
+ withCurrentElement(Entity element, f()) => f(); |
@override |
DiagnosticMessage createMessage(Spannable spannable, MessageKind messageKind, |