| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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.md file. | 3 // BSD-style license that can be found in the LICENSE.md file. |
| 4 | 4 |
| 5 import 'lib/lib.dart'; | 5 import 'lib/sources.dart'; |
| 6 | 6 |
| 7 /// Tree-shaker preserves APIs used anywhere in the library, there is no special | 7 class C { |
| 8 /// root, and `main` is no special. | 8 A1 f1; |
| 9 class X { | 9 var f2 = A2; |
| 10 var s = toplevel(); | 10 |
| 11 A3 m1(A4 a, [A5 b]) => null; |
| 12 A3 m2(A4 a, {A6 b}) => null; |
| 13 |
| 14 A7 get getter => null; |
| 15 void set setter(A8 v) {} |
| 11 } | 16 } |
| OLD | NEW |