OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 abstract class A { | 5 abstract class A { |
6 method1(); /// 01: ok | 6 method1(); /// 01: ok |
7 method5(); /// 05: ok | 7 method5(); /// 05: ok |
8 method6(); /// 06: ok | 8 method6(); /// 06: ok |
9 method7(); /// 07: static type warning | 9 method7(); /// 07: static type warning |
10 get getter8; /// 08: static type warning | 10 get getter8; /// 08: static type warning |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 method16([a]) {} /// 16: continued | 57 method16([a]) {} /// 16: continued |
58 get member24 => 0; /// 24: continued | 58 get member24 => 0; /// 24: continued |
59 final field25 = 0; /// 25: continued | 59 final field25 = 0; /// 25: continued |
60 set member26(_) {} /// 26: continued | 60 set member26(_) {} /// 26: continued |
61 method27(); /// 27: continued | 61 method27(); /// 27: continued |
62 } | 62 } |
63 | 63 |
64 main() { | 64 main() { |
65 new Class(); | 65 new Class(); |
66 } | 66 } |
OLD | NEW |