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

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

Issue 2976753002: Remove deprecated_addNit. (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/stack_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/source/stack_listener.dart b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
index 892b4699ce695886f118d4a3100d8105bee8a7d0..eef8d924926302e49025c235721f64c1eca4d3c2 100644
--- a/pkg/front_end/lib/src/fasta/source/stack_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/stack_listener.dart
@@ -272,8 +272,8 @@ abstract class StackListener extends Listener {
throw deprecated_inputError(uri, token.charOffset, message.message);
}
- void deprecated_nit(String message, [int charOffset = -1]) {
- messages.deprecated_nit(uri, charOffset, message);
+ void nit(Message message, int charOffset) {
+ messages.nit(message, charOffset, uri);
}
void deprecated_warning(String message, [int charOffset = -1]) {

Powered by Google App Engine
This is Rietveld 408576698