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

Unified Diff: tests/compiler/dart2js/mock_compiler.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 months 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
« no previous file with comments | « tests/compiler/dart2js/mixin_typevariable_test.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) =>
« no previous file with comments | « tests/compiler/dart2js/mixin_typevariable_test.dart ('k') | tests/compiler/dart2js/parser_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698