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

Unified Diff: pkg/analyzer/test/src/summary/summary_common.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/test/src/summary/summarize_ast_test.dart ('k') | pkg/analyzer_cli/lib/src/build_mode.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/test/src/summary/summary_common.dart
diff --git a/pkg/analyzer/test/src/summary/summary_common.dart b/pkg/analyzer/test/src/summary/summary_common.dart
index b108ff12a8ff617a7c8955bac8ea0717ef0dcd4a..dc044e2ee22f911b964bcdae2e60c5774c897e50 100644
--- a/pkg/analyzer/test/src/summary/summary_common.dart
+++ b/pkg/analyzer/test/src/summary/summary_common.dart
@@ -6062,13 +6062,15 @@ f(MyFunction myFunction) {}
// Element model does not provide access to configurations.
return;
}
- addNamedSource('/foo.dart', 'bar() {}');
- addNamedSource('/foo_io.dart', 'bar() {}');
- addNamedSource('/foo_html.dart', 'bar() {}');
+ addNamedSource('/foo.dart', 'class A {}');
+ addNamedSource('/foo_io.dart', 'class A {}');
+ addNamedSource('/foo_html.dart', 'class A {}');
String libraryText = r'''
export 'foo.dart'
if (dart.library.io) 'foo_io.dart'
if (dart.flavor == 'html') 'foo_html.dart';
+
+class B extends A {}
''';
serializeLibraryText(libraryText);
UnlinkedExportPublic exp = unlinkedUnits[0].publicNamespace.exports[0];
« no previous file with comments | « pkg/analyzer/test/src/summary/summarize_ast_test.dart ('k') | pkg/analyzer_cli/lib/src/build_mode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698