OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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('LibrarySameNameUsedLib1.dart', prefix:'lib1'); // for interface X. | 6 #import('library_same_name_used_lib1.dart', prefix:'lib1'); // for interface X. |
7 | 7 |
8 class X implements lib1.X { | 8 class X implements lib1.X { |
9 X(); | 9 X(); |
10 toString() => 'lib2.X'; | 10 toString() => 'lib2.X'; |
11 } | 11 } |
OLD | NEW |