| 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..5e36769e803afca344039956e7bed91fe93e53bf 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.report(
|
| null, -1, -1, message, api.Diagnostic.ERROR);
|
| } else {
|
| print('Error: $message');
|
|
|