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

Unified Diff: pkg/front_end/lib/src/fasta/testing/suite.dart

Issue 2675683002: Update fasta tests to use the new transformation API (Closed)
Patch Set: Created 3 years, 11 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/kernel_chain.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/testing/suite.dart
diff --git a/pkg/front_end/lib/src/fasta/testing/suite.dart b/pkg/front_end/lib/src/fasta/testing/suite.dart
index 3968462af7460d122871f034d84ab4b03d984cbc..045d01bacfff665be459679ebb38f81aa62dc527 100644
--- a/pkg/front_end/lib/src/fasta/testing/suite.dart
+++ b/pkg/front_end/lib/src/fasta/testing/suite.dart
@@ -126,7 +126,8 @@ class FeContext extends TestContext {
"vm", new TargetFlags(strongMode: options.strongMode));
Program program = loader.loadProgram(
Uri.base.resolve("pkg/fasta/test/platform.dart"), target: target);
- target.transformProgram(program);
+ target.performModularTransformations(program);
+ target.performGlobalTransformations(program);
if (loader.errors.isNotEmpty) {
throw loader.errors.join("\n");
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/testing/kernel_chain.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698