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

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

Issue 1235563003: Add interfaces for a new compiler API. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 5 years, 5 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/bad_loop_test.dart ('k') | tests/compiler/dart2js/codegen_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/bad_output_io_test.dart
diff --git a/tests/compiler/dart2js/bad_output_io_test.dart b/tests/compiler/dart2js/bad_output_io_test.dart
index d2429f03b78ef029fb671f0291ec5f764e712670..ad2b0b9c5ee473cb129ee74996668de81d47e2f0 100644
--- a/tests/compiler/dart2js/bad_output_io_test.dart
+++ b/tests/compiler/dart2js/bad_output_io_test.dart
@@ -37,12 +37,14 @@ class CollectingFormattingDiagnosticHandler
messages.add([message, kind]);
}
- void diagnosticHandler(Uri uri, int begin, int end, String message, kind) {
+ @override
+ void report(Uri uri, int begin, int end, String message, kind) {
messages.add([message, kind]);
}
+ @override
void call(Uri uri, int begin, int end, String message, kind) {
- diagnosticHandler(uri, begin, end, message, kind);
+ report(uri, begin, end, message, kind);
}
String prefixMessage(String message, Diagnostic kind) {
« no previous file with comments | « tests/compiler/dart2js/bad_loop_test.dart ('k') | tests/compiler/dart2js/codegen_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698