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

Unified Diff: pkg/front_end/test/fasta/testing/suite.dart

Issue 2872903005: Rework DillLoader to allow adding multiple dills. (Closed)
Patch Set: Fixes for review changes. Created 3 years, 7 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
Index: pkg/front_end/test/fasta/testing/suite.dart
diff --git a/pkg/front_end/test/fasta/testing/suite.dart b/pkg/front_end/test/fasta/testing/suite.dart
index c302015e65e21f08deb3e9e549a03487413fa95e..f08f6cded4ebb3aca14f163ddcfd4558a486eded 100644
--- a/pkg/front_end/test/fasta/testing/suite.dart
+++ b/pkg/front_end/test/fasta/testing/suite.dart
@@ -193,9 +193,7 @@ class Outline extends Step<TestDescription, Program, FastaContext> {
Program platform = await context.loadPlatform();
Ticker ticker = new Ticker();
DillTarget dillTarget = new DillTarget(ticker, context.uriTranslator);
- dillTarget.loader
- ..input = Uri.parse("org.dartlang:platform") // Make up a name.
- ..setProgram(platform);
+ dillTarget.loader.appendLibraries(platform);
KernelTarget sourceTarget = astKind == AstKind.Analyzer
? new AnalyzerTarget(dillTarget, context.uriTranslator, strongMode)
: new KernelTarget(PhysicalFileSystem.instance, dillTarget,

Powered by Google App Engine
This is Rietveld 408576698