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

Unified Diff: pkg/analyzer/test/src/summary/linker_test.dart

Issue 2353433002: Use configurations and declared variables to select import/export URIs during prelinking. (Closed)
Patch Set: Cache selected URI. Created 4 years, 3 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/analyzer/lib/src/summary/pub_summary.dart ('k') | pkg/analyzer/test/src/summary/prelinker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/linker_test.dart
diff --git a/pkg/analyzer/test/src/summary/linker_test.dart b/pkg/analyzer/test/src/summary/linker_test.dart
index d410a0878db6d47cd80d9b76f291702c12c905fa..b6fdf2c97feb4a131982098dcfeea4059ebdd29b 100644
--- a/pkg/analyzer/test/src/summary/linker_test.dart
+++ b/pkg/analyzer/test/src/summary/linker_test.dart
@@ -33,8 +33,10 @@ class LinkerUnitTest extends SummaryLinkerTest {
void createLinker(String text, {String path: '/test.dart'}) {
linkerInputs = createLinkerInputs(text, path: path);
- Map<String, LinkedLibraryBuilder> linkedLibraries =
- setupForLink(linkerInputs.linkedLibraries, linkerInputs.getUnit);
+ Map<String, LinkedLibraryBuilder> linkedLibraries = setupForLink(
+ linkerInputs.linkedLibraries,
+ linkerInputs.getUnit,
+ linkerInputs.getDeclaredVariable);
linker = new Linker(linkedLibraries, linkerInputs.getDependency,
linkerInputs.getUnit, true);
}
« no previous file with comments | « pkg/analyzer/lib/src/summary/pub_summary.dart ('k') | pkg/analyzer/test/src/summary/prelinker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698