Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: pkg/front_end/testcases/shaker/transitive_class_constructor_lib.dart

Issue 3011663002: Restructure outline shaker tests. (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 class A1 {}
6 6
7 /// Tree-shaker preserves APIs used anywhere in the library, there is no special 7 class A2 {}
8 /// root, and `main` is no special. 8
9 class X { 9 class A3 {}
10 static foo() => toplevel(); 10
11 class A4 {}
12
13 class A5 {}
14
15 class A6 {}
16
17 class B {
18 A1 publicField;
19 A2 _privateField;
20
21 B();
22 B.publicConstructor(A3 a, [A4 b]);
23 B._privateConstructor(A5 a);
11 } 24 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698