Index: pkg/front_end/lib/src/fasta/vm.dart |
diff --git a/pkg/front_end/lib/src/fasta/vm.dart b/pkg/front_end/lib/src/fasta/vm.dart |
index 67de365526ebeef06e7eaaec7e4afff46c76665a..353a126b0222e113619cc0d575cc1d64599f8830 100644 |
--- a/pkg/front_end/lib/src/fasta/vm.dart |
+++ b/pkg/front_end/lib/src/fasta/vm.dart |
@@ -52,7 +52,8 @@ abstract class CompilationResult { |
List toResponse() => [status.index, payload]; |
} |
-Future<CompilationResult> parseScript(Uri script, {bool verbose: false}) async { |
+Future<CompilationResult> parseScript(Uri script, |
+ {bool verbose: false, bool strongMode: false}) async { |
final Uri packagesUri = (Platform.packageConfig != null) |
? Uri.parse(Platform.packageConfig) |
: await _findPackagesFile(script); |
@@ -73,7 +74,8 @@ Future<CompilationResult> parseScript(Uri script, {bool verbose: false}) async { |
} |
try { |
- return await fasta.parseScript(script, packagesUri, patchedSdk, verbose); |
+ return await fasta.parseScript(script, packagesUri, patchedSdk, |
+ verbose: verbose, strongMode: strongMode); |
} catch (err, stack) { |
return new CompilationResult.crash(err, stack); |
} |