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

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

Issue 11464025: dart2js: complain about missing part-of tags. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years 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 19f5501330e23e63c95457bfb07e45aaadb19304..c20e6cb837f0cdff1ece72ae15d7229b12134b00 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/diagnostic_listener.dart
@@ -20,5 +20,6 @@ abstract class DiagnosticListener {
void reportMessage(SourceSpan span, Diagnostic message, api.Diagnostic kind);
- void onDeprecatedFeature(Spannable span, String feature);
+ /// Returns true if a diagnostic was emitted.
+ bool onDeprecatedFeature(Spannable span, String feature);
}

Powered by Google App Engine
This is Rietveld 408576698