| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 shared; | 5 library tearoff_basic_lib; |
| 6 | 6 |
| 7 class CShared { | 7 cfunc() => "cfunc"; |
| 8 toString() => "shared"; | |
| 9 } | |
| 10 | 8 |
| 11 class C1 { | 9 set cset(a) { cvar = a; } |
| 12 toString() => "C1"; | |
| 13 } | |
| 14 | 10 |
| 15 class C2 { | 11 get cget => "cget"; |
| 16 toString() => "C2"; | 12 |
| 17 } | 13 var cvar = 1+2+3; |
| 14 |
| 15 final cfinvar = "set in stone"; |
| 16 |
| 17 class ZZ { } |
| OLD | NEW |