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

Unified Diff: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart

Issue 11411119: Clean up warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
index 825498e0ad61881c81aa11cb14dd42338f3fc214..e38c906f1313042ee7074cd86107d004f2d097b1 100644
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart
@@ -195,6 +195,11 @@ class Dart2JsDiagnosticListener implements DiagnosticListener {
// TODO(johnniwinther): implement this.
throw 'unimplemented';
}
+
+ void onDeprecatedFeature(Spannable span, String feature) {
+ // TODO(johnniwinther): implement this?
+ throw 'unimplemented';
+ }
}
//------------------------------------------------------------------------------
@@ -380,7 +385,8 @@ class Dart2JsCompilation implements Compilation {
librariesUri.add(cwd.resolve(library.toString()));
// TODO(johnniwinther): Detect file not found
}
- _compiler.runList(librariesUri);
+ LibraryCompiler libraryCompiler = _compiler;
+ libraryCompiler.runList(librariesUri);
}
MirrorSystem get mirrors => new Dart2JsMirrorSystem(_compiler);

Powered by Google App Engine
This is Rietveld 408576698