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

Unified Diff: pkg/front_end/lib/src/fasta/messages.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/messages.dart
diff --git a/pkg/front_end/lib/src/fasta/messages.dart b/pkg/front_end/lib/src/fasta/messages.dart
index 5f3f7675370c1275bfff116bfe65e58df400d0d9..ae01d6f7f1f64cae62f7778dca11d58ea2e6f580 100644
--- a/pkg/front_end/lib/src/fasta/messages.dart
+++ b/pkg/front_end/lib/src/fasta/messages.dart
@@ -62,16 +62,6 @@ void deprecated_warning(Uri uri, int charOffset, String message) {
}
}
-void deprecated_nit(Uri uri, int charOffset, String message) {
- if (hideNits) return;
- print(deprecated_format(uri, charOffset, colorNit("Nit: $message")));
- if (nitsAreFatal) {
- if (isVerbose) print(StackTrace.current);
- throw new deprecated_InputError(
- uri, charOffset, "Compilation aborted due to fatal nits.");
- }
-}
-
String colorWarning(String message) {
// TODO(ahe): Colors need to be optional. Doesn't work well in Emacs or on
// Windows.

Powered by Google App Engine
This is Rietveld 408576698