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

Unified Diff: pkg/front_end/lib/src/fasta/source/diet_listener.dart

Issue 2977713002: Remove deprecated api from LibraryBuilder. (Closed)
Patch Set: Created 3 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/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);
}

Powered by Google App Engine
This is Rietveld 408576698