Index: pkg/front_end/lib/src/fasta/source/diet_listener.dart |
diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
index 3a570eaa575577246e5c043022448a1e072284d9..c7933a3ce5d06e4a06fff4fc4e9f6f7935641fe2 100644 |
--- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
+++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart |
@@ -617,8 +617,7 @@ class DietListener extends StackListener { |
@override |
void addCompileTimeError(Message message, int charOffset) { |
- library.deprecated_addCompileTimeError(charOffset, message.message, |
- fileUri: uri, |
+ library.addCompileTimeError(message, charOffset, uri, |
// We assume this error has already been reported by OutlineBuilder. |
silent: true); |
} |