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

Unified Diff: sdk/lib/_internal/compiler/implementation/warnings.dart

Issue 169763003: Update dart2js diagnostics to prepare for filtering. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove optional Uri. Created 6 years, 10 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: sdk/lib/_internal/compiler/implementation/warnings.dart
diff --git a/sdk/lib/_internal/compiler/implementation/warnings.dart b/sdk/lib/_internal/compiler/implementation/warnings.dart
index 014e40a20aaaa6b944ccf21ab7680febd4a2d820..aeafbbc59023a73319862c918db81b5c384655f7 100644
--- a/sdk/lib/_internal/compiler/implementation/warnings.dart
+++ b/sdk/lib/_internal/compiler/implementation/warnings.dart
@@ -1949,16 +1949,6 @@ class Diagnostic {
String toString() => message.toString();
}
-class TypeWarning extends Diagnostic {
- TypeWarning(MessageKind kind, Map arguments, bool terse)
- : super(kind, arguments, terse);
-}
-
-class ResolutionWarning extends Diagnostic {
- ResolutionWarning(MessageKind kind, Map arguments, bool terse)
- : super(kind, arguments, terse);
-}
-
class CompileTimeConstantError extends Diagnostic {
CompileTimeConstantError(MessageKind kind, Map arguments, bool terse)
: super(kind, arguments, terse);

Powered by Google App Engine
This is Rietveld 408576698