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

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

Issue 3009803002: Mark types of Constructor parameters and preserve referenced typedefs. (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 file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /// Shaker tests verify that portions of this file are preserved and that the 5 /// Shaker tests verify that portions of this file are preserved and that the
6 /// rest is tree-shaken. 6 /// rest is tree-shaken.
7 library lib; 7 library lib;
8 8
9 toplevel() => null; 9 toplevel() => null;
10 10
11 class _A {} 11 class _A {}
12 12
13 class B extends _A {} 13 class B extends _A {}
14 14
15 class C extends _A {} 15 class C extends _A {}
16 16
17 class K {} 17 class K {}
18 18
19 class M2 {} 19 class M2 {}
20 20
21 class M3 {} 21 class M3 {}
22 22
23 class M1 extends Object with M2 implements M3 {} 23 class M1 extends Object with M2 implements M3 {}
24 24
25 class Bound {} 25 class Bound {}
26 26
27 class Base<T extends Bound> {} 27 class Base<T extends Bound> {}
28 28
29 typedef T MyTypedef<T>(T arg); 29 typedef T Typedef1<T>(T arg);
30
31 typedef String Typedef2(int arg);
30 32
31 class F { 33 class F {
32 K field; 34 K field;
33 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698