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

Unified Diff: tests/lib/mirrors/library_imports_prefixed_show_hide.dart

Issue 189843003: Reapply "Access to imports in the VM's runtime mirrors. Extend test coverage of the source mirrors." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/lib/mirrors/library_imports_prefixed_show_hide.dart
diff --git a/tests/language/check_member_static_test.dart b/tests/lib/mirrors/library_imports_prefixed_show_hide.dart
similarity index 52%
copy from tests/language/check_member_static_test.dart
copy to tests/lib/mirrors/library_imports_prefixed_show_hide.dart
index e66c37da0bfd939d4a2c57a2aa3e80e314249be8..ea7c71fa93ff937f2339f37ec33bb382a22e4af2 100644
--- a/tests/language/check_member_static_test.dart
+++ b/tests/lib/mirrors/library_imports_prefixed_show_hide.dart
@@ -2,20 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-class A {
- static var a;
- var b;
-}
+library library_imports_prefixed_show_hide;
-class B extends A {
+import 'library_imports_a.dart' as prefixa show somethingFromA;
+import 'library_imports_b.dart' as prefixb hide somethingFromB;
-}
-
-class C extends B {
- var a; /// 01: static type warning
- static var b; /// 02: compile-time error
-}
-
-void main() {
- new C();
-}
+var somethingFromPrefixed;
« no previous file with comments | « tests/lib/mirrors/library_imports_prefixed.dart ('k') | tests/lib/mirrors/library_imports_prefixed_show_hide_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698