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 part of some_lib; | |
5 | 4 |
6 interface SomeClass default SomeClassImpl { | 5 interface SomeClass default SomeClassImpl { |
7 SomeClass(arg); | 6 SomeClass(arg); |
8 String get message; | 7 String get message; |
9 newMethod(); | 8 newMethod(); |
10 } | 9 } |
11 | 10 |
12 interface SomeInterface2 { | 11 interface SomeInterface2 { |
13 } | 12 } |
14 | 13 |
15 // myother7.dart/Baz depends on SomeClass2 which depends on SomeInterface2 | 14 // myother7.dart/Baz depends on SomeClass2 which depends on SomeInterface2 |
16 class SomeClass2 implements SomeInterface2 { | 15 class SomeClass2 implements SomeInterface2 { |
17 } | 16 } |
OLD | NEW |