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

Unified Diff: pkg/compiler/lib/src/dart2js.dart

Issue 1235563003: Add interfaces for a new compiler API. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: 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
Index: pkg/compiler/lib/src/dart2js.dart
diff --git a/pkg/compiler/lib/src/dart2js.dart b/pkg/compiler/lib/src/dart2js.dart
index 51cdae407221e695a022d05cc7af05e96247600a..09a40cadb91ddc954cd9e315af5b522582a2bcd7 100644
--- a/pkg/compiler/lib/src/dart2js.dart
+++ b/pkg/compiler/lib/src/dart2js.dart
@@ -502,7 +502,7 @@ void writeString(Uri uri, String text) {
void fail(String message) {
if (diagnosticHandler != null) {
- diagnosticHandler.diagnosticHandler(
+ diagnosticHandler.reportDiagnostic(
null, -1, -1, message, api.Diagnostic.ERROR);
} else {
print('Error: $message');

Powered by Google App Engine
This is Rietveld 408576698