Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index ebbe37d2f9abc5dc7071d06cdc4345e5f03cfa60..0f59366fa0c84aae863fc723d7562f8025b57d5e 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -153,7 +153,7 @@ class MockCompiler extends Compiler { |
}).then((_) => uri); |
} |
- Future run(Uri uri, [String mainSource = ""]) { |
+ Future<bool> run(Uri uri, [String mainSource = ""]) { |
return init(mainSource).then((Uri mainUri) { |
return super.run(uri == null ? mainUri : uri); |
}).then((result) { |
@@ -290,7 +290,7 @@ class MockCompiler extends Compiler { |
} |
class MockResolvedUriTranslator implements ResolvedUriTranslator { |
- static final _emptySet = new Set(); |
+ static final dynamic _emptySet = new Set(); |
Uri translate(LibraryElement importingLibrary, Uri resolvedUri, |
Spannable spannable) => |