Index: tests/language/private_clash_lib.dart |
diff --git a/tests/language/enum_duplicate_lib.dart b/tests/language/private_clash_lib.dart |
similarity index 59% |
copy from tests/language/enum_duplicate_lib.dart |
copy to tests/language/private_clash_lib.dart |
index b9c84f5109af8178afedae4313ab9056c08b263b..2722aef928234a815f7357f8febb071f9f53baf2 100644 |
--- a/tests/language/enum_duplicate_lib.dart |
+++ b/tests/language/private_clash_lib.dart |
@@ -2,13 +2,13 @@ |
// 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. |
-library enum_duplicate_lib; |
+library a$_b; |
-enum Enum1 { |
- A, |
- B, |
-} |
+class B { |
+ var _c$ = 10; // With library prefix: _a$_b$_c$ |
-class Enum2 { |
- static Iterable get values => ['Enum2.A', 'Enum2.B']; |
+ getValueA() { |
+ try {} catch(e) {} // no inline |
+ return this._c$; |
+ } |
} |