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]) { |