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

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

Issue 11416004: Reject deprecated language features. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: abstract class in resolver test Created 8 years, 1 month 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: dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart b/dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
index fa335e0e5f4522d70554a029413bc439916a6676..19f5501330e23e63c95457bfb07e45aaadb19304 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
@@ -19,4 +19,6 @@ abstract class DiagnosticListener {
SourceSpan spanFromNode(Node node, [Uri uri]);
void reportMessage(SourceSpan span, Diagnostic message, api.Diagnostic kind);
+
+ void onDeprecatedFeature(Spannable span, String feature);
}

Powered by Google App Engine
This is Rietveld 408576698