OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 // Test use of @proxy and noSuchMethod in relation to abstract methods in | 5 // Test use of @proxy and noSuchMethod in relation to abstract methods in |
6 // concrete classes. | 6 // concrete classes. |
7 | 7 |
8 abstract class A { | 8 abstract class A { |
9 method6(); /// 06: static type warning | 9 method6(); /// 06: static type warning |
10 method7(); /// 07: static type warning | 10 method7(); /// 07: static type warning |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 method13(); /// 13: continued | 47 method13(); /// 13: continued |
48 } | 48 } |
49 | 49 |
50 class Class2 extends B { | 50 class Class2 extends B { |
51 } | 51 } |
52 | 52 |
53 main() { | 53 main() { |
54 new Class1(); | 54 new Class1(); |
55 new Class2(); | 55 new Class2(); |
56 } | 56 } |
OLD | NEW |