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); |