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

Unified Diff: tests/compiler/dart2js/parser_helper.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 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 | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/quarantined/http_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « tests/compiler/dart2js/mock_compiler.dart ('k') | tests/compiler/dart2js/quarantined/http_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698