| Index: pkg/compiler/lib/src/source_file_provider.dart
|
| diff --git a/pkg/compiler/lib/src/source_file_provider.dart b/pkg/compiler/lib/src/source_file_provider.dart
|
| index 932864a53ac4c99c5663792eb60bf4e6a9826cc3..2269a9edfc8655db77a73cbaeefe6926e27d2024 100644
|
| --- a/pkg/compiler/lib/src/source_file_provider.dart
|
| +++ b/pkg/compiler/lib/src/source_file_provider.dart
|
| @@ -170,8 +170,8 @@ class FormattingDiagnosticHandler implements CompilerDiagnostics {
|
| }
|
|
|
| @override
|
| - void report(Uri uri, int begin, int end, String message,
|
| - api.Diagnostic kind) {
|
| + void report(var code, Uri uri, int begin, int end, String message,
|
| + api.Diagnostic kind) {
|
| // TODO(ahe): Remove this when source map is handled differently.
|
| if (identical(kind.name, 'source map')) return;
|
|
|
| @@ -236,7 +236,7 @@ class FormattingDiagnosticHandler implements CompilerDiagnostics {
|
| // TODO(johnniwinther): Remove this when no longer needed for the old compiler
|
| // API.
|
| void call(Uri uri, int begin, int end, String message, api.Diagnostic kind) {
|
| - return report(uri, begin, end, message, kind);
|
| + return report(null, uri, begin, end, message, kind);
|
| }
|
| }
|
|
|
|
|