| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library enum_duplicate_lib; | 5 library a$_b; |
| 6 | 6 |
| 7 enum Enum1 { | 7 class B { |
| 8 A, | 8 var _c$ = 10; // With library prefix: _a$_b$_c$ |
| 9 B, | 9 |
| 10 getValueA() { |
| 11 try {} catch(e) {} // no inline |
| 12 return this._c$; |
| 13 } |
| 10 } | 14 } |
| 11 | |
| 12 class Enum2 { | |
| 13 static Iterable get values => ['Enum2.A', 'Enum2.B']; | |
| 14 } | |
| OLD | NEW |