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

Unified Diff: tests/compiler/dart2js/equivalence/id_equivalence_helper.dart

Issue 2992383002: Support use of dill in TypeEnv tests (Closed)
Patch Set: Created 3 years, 4 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 | « tests/compiler/dart2js/class_set_test.dart ('k') | tests/compiler/dart2js/instantiated_classes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/equivalence/id_equivalence_helper.dart
diff --git a/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart b/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart
index 81de9b38b7ebf97de87c33d1ba05e930a137e674..65ca59fed02aeec2b4298c5a88f7d197e67b729b 100644
--- a/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart
+++ b/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart
@@ -44,12 +44,12 @@ Future<Compiler> compileFromSource(
Future<Compiler> compileFromDill(
AnnotatedCode code, Uri mainUri, List<String> options) async {
Compiler compiler = await compileWithDill(
- mainUri,
- {'main.dart': code.sourceCode},
- [Flags.disableTypeInference]..addAll(options),
+ entryPoint: mainUri,
+ memorySourceFiles: {'main.dart': code.sourceCode},
+ options: [Flags.disableTypeInference]..addAll(options),
beforeRun: (Compiler compiler) {
- compiler.stopAfterTypeInference = true;
- });
+ compiler.stopAfterTypeInference = true;
+ });
return compiler;
}
« no previous file with comments | « tests/compiler/dart2js/class_set_test.dart ('k') | tests/compiler/dart2js/instantiated_classes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698