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

Unified Diff: tests/compiler/dart2js/serialization/test_data.dart

Issue 2255163002: Support serialization of ambiguous elements. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 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 | « pkg/compiler/lib/src/serialization/keys.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/serialization/test_data.dart
diff --git a/tests/compiler/dart2js/serialization/test_data.dart b/tests/compiler/dart2js/serialization/test_data.dart
index bf8ecf8330739ef172d0f0389aacefb3bbe94879..cfb2d08e70dbfd9d9ddd2b095a70f0943c64d08a 100644
--- a/tests/compiler/dart2js/serialization/test_data.dart
+++ b/tests/compiler/dart2js/serialization/test_data.dart
@@ -717,6 +717,21 @@ export 'main.dart';
main() {}
'''}),
+
+ const Test('Ambiguous elements', const {},
+ preserializedSourceFiles: const {
+ 'main.dart': '''
+import 'a.dart';
+import 'b.dart';
+
+main() => new foo();
+''',
+ 'a.dart': '''
+var foo;
+''',
+ 'b.dart': '''
+var foo;
+''',}),
];
class Test {
« no previous file with comments | « pkg/compiler/lib/src/serialization/keys.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698