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 library interesting; | 5 library abstract_field; |
6 | 6 |
7 class Foo { | 7 class A { |
8 fisk() { | 8 String get foo => null; |
9 } | 9 |
10 hest() { | 10 set foo(String v) => null; |
| 11 |
| 12 method() { |
11 } | 13 } |
12 } | 14 } |
13 | 15 |
| 16 String get bar => null; |
| 17 |
| 18 set bar(String v) => null; |
| 19 |
14 main() {} | 20 main() {} |
OLD | NEW |