OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 lib2; | 5 library lib2; |
6 import 'library_same_name_used_lib1.dart' as lib1; // for abstract class X. | 6 |
| 7 import 'library_same_name_used_lib1.dart' as lib1; // for abstract class X. |
7 | 8 |
8 class X implements lib1.X { | 9 class X implements lib1.X { |
9 X(); | 10 X(); |
10 toString() => 'lib2.X'; | 11 toString() => 'lib2.X'; |
11 } | 12 } |
OLD | NEW |