Index: tests/compiler/dart2js/compiler_helper.dart |
diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart |
index b211103a2bac299144f66b8418f99b09ce4fe04b..64aceeef816490ccd1f903ec064508bbd5ac209e 100644 |
--- a/tests/compiler/dart2js/compiler_helper.dart |
+++ b/tests/compiler/dart2js/compiler_helper.dart |
@@ -111,6 +111,7 @@ MockCompiler compilerFor(String code, Uri uri, |
Future<String> compileAll(String code, |
{Map<String, String> coreSource, |
bool disableInlining: true, |
+ bool trustTypeAnnotations: false, |
bool minify: false, |
int expectedErrors, |
int expectedWarnings}) { |
@@ -118,6 +119,7 @@ Future<String> compileAll(String code, |
MockCompiler compiler = compilerFor( |
code, uri, coreSource: coreSource, disableInlining: disableInlining, |
minify: minify, expectedErrors: expectedErrors, |
+ trustTypeAnnotations: trustTypeAnnotations, |
expectedWarnings: expectedWarnings); |
return compiler.runCompiler(uri).then((_) { |
Expect.isFalse(compiler.compilationFailed, |