| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 // VMOptions=--compile_all |
| 4 | 5 |
| 5 var get; | 6 var get; |
| 6 var get a; /// 00: compile-time error | 7 var get a; /// 00: compile-time error |
| 7 var get b, c; /// 01: compile-time error | 8 var get b, c; /// 01: compile-time error |
| 8 | 9 |
| 9 var set; | 10 var set; |
| 10 var set d; /// 02: compile-time error | 11 var set d; /// 02: compile-time error |
| 11 var set e, f; /// 03: compile-time error | 12 var set e, f; /// 03: compile-time error |
| 12 | 13 |
| 13 class C0 { | 14 class C0 { |
| (...skipping 22 matching lines...) Expand all Loading... |
| 36 List<int> get b, c; /// 13: compile-time error | 37 List<int> get b, c; /// 13: compile-time error |
| 37 | 38 |
| 38 List<int> set; | 39 List<int> set; |
| 39 List<int> set d; /// 14: compile-time error | 40 List<int> set d; /// 14: compile-time error |
| 40 List<int> set e, f; /// 15: compile-time error | 41 List<int> set e, f; /// 15: compile-time error |
| 41 } | 42 } |
| 42 | 43 |
| 43 main() { | 44 main() { |
| 44 new C1(); | 45 new C1(); |
| 45 } | 46 } |
| OLD | NEW |