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

Unified Diff: pkg/front_end/test/fasta/ambiguous_export_test.dart

Issue 3009953003: Store actual Reference(s) for additional exports. (Closed)
Patch Set: Use references, but keep JSON hacks for errors and void/dynamic. Created 3 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
Index: pkg/front_end/test/fasta/ambiguous_export_test.dart
diff --git a/pkg/front_end/test/fasta/ambiguous_export_test.dart b/pkg/front_end/test/fasta/ambiguous_export_test.dart
index 872924701a678bc56799fd823ce4b849e42b1971..0189766b009716d965112b04397e1590475c9f87 100644
--- a/pkg/front_end/test/fasta/ambiguous_export_test.dart
+++ b/pkg/front_end/test/fasta/ambiguous_export_test.dart
@@ -23,8 +23,7 @@ main() async {
await asyncTest(() async {
Library library = new Library(Uri.parse("org.dartlang.fasta:library"));
Field field = new Field(new Name("_exports#", library),
- initializer:
- new StringLiteral("[[null,\"main\",\"Problem with main\"]]"));
+ initializer: new StringLiteral('{"main":"Problem with main"}'));
library.addMember(field);
Program program = new Program(libraries: <Library>[library]);
await CompilerContext.runWithDefaultOptions((CompilerContext c) async {

Powered by Google App Engine
This is Rietveld 408576698