| Index: pkg/front_end/testcases/shaker/source_class.dart
|
| diff --git a/pkg/front_end/testcases/shaker/roots5.dart b/pkg/front_end/testcases/shaker/source_class.dart
|
| similarity index 55%
|
| rename from pkg/front_end/testcases/shaker/roots5.dart
|
| rename to pkg/front_end/testcases/shaker/source_class.dart
|
| index ee3381c68326178b725bd64c39817514780646e2..1ea42b83d36b48d630fe189e8273e315061b3e07 100644
|
| --- a/pkg/front_end/testcases/shaker/roots5.dart
|
| +++ b/pkg/front_end/testcases/shaker/source_class.dart
|
| @@ -2,10 +2,15 @@
|
| // for details. All rights reserved. Use of this source code is governed by a
|
| // BSD-style license that can be found in the LICENSE.md file.
|
|
|
| -import 'lib/lib.dart';
|
| +import 'lib/sources.dart';
|
|
|
| -/// Tree-shaker preserves APIs used anywhere in the library, there is no special
|
| -/// root, and `main` is no special.
|
| -class X {
|
| - var s = toplevel();
|
| +class C {
|
| + A1 f1;
|
| + var f2 = A2;
|
| +
|
| + A3 m1(A4 a, [A5 b]) => null;
|
| + A3 m2(A4 a, {A6 b}) => null;
|
| +
|
| + A7 get getter => null;
|
| + void set setter(A8 v) {}
|
| }
|
|
|