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

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

Issue 2005293003: Compute import paths using ImportElement and ExportElement (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Compute members eagerly. Created 4 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: 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 49f3f4454e60b89f2fb0fd3dfe041c8eff31202d..96efc314d69b20f952938857e13e33e98aeb1229 100644
--- a/tests/compiler/dart2js/serialization/test_data.dart
+++ b/tests/compiler/dart2js/serialization/test_data.dart
@@ -308,6 +308,14 @@ class S {
class C = S with M;
''',
}),
+
+ const Test('Import mirrors, thus checking import paths', const {
+ 'main.dart': '''
+import 'dart:mirrors';
+main() {}
+''',
+ },
+ expectedWarningCount: 1),
];
class Test {

Powered by Google App Engine
This is Rietveld 408576698