| 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;
|
|
|