Index: tests/compiler/dart2js/mock_compiler.dart |
diff --git a/tests/compiler/dart2js/mock_compiler.dart b/tests/compiler/dart2js/mock_compiler.dart |
index 7456c291e470acbd5caa87b4513524eb11057d5b..2195fe629dc856c4609f1b877f759ad29a0f56d5 100644 |
--- a/tests/compiler/dart2js/mock_compiler.dart |
+++ b/tests/compiler/dart2js/mock_compiler.dart |
@@ -87,6 +87,7 @@ class MockCompiler extends Compiler { |
// affected by inlining support. |
bool disableInlining: true, |
bool trustTypeAnnotations: false, |
+ bool trustJSInteropTypeAnnotations: false, |
bool enableAsyncAwait: false, |
int this.expectedWarnings, |
int this.expectedErrors, |
@@ -106,6 +107,7 @@ class MockCompiler extends Compiler { |
emitJavaScript: emitJavaScript, |
preserveComments: preserveComments, |
trustTypeAnnotations: trustTypeAnnotations, |
+ trustJSInteropTypeAnnotations: trustJSInteropTypeAnnotations, |
diagnosticOptions: |
new DiagnosticOptions(showPackageWarnings: true), |
outputProvider: new LegacyCompilerOutput(outputProvider)) { |