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

Unified Diff: pkg/front_end/lib/src/fasta/vm.dart

Issue 2825063002: Move kernel baseline tests to front_end. (Closed)
Patch Set: Created 3 years, 8 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 | « pkg/front_end/lib/src/fasta/testing/suite.dart ('k') | pkg/front_end/test/fasta/accessors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/testing/suite.dart ('k') | pkg/front_end/test/fasta/accessors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698