OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 | 5 |
6 library library11.dart; | 6 library library11.dart; |
7 | 7 |
8 class Library11 { | 8 class Library11 { |
9 Library11(this.fld); | 9 Library11(this.fld); |
10 Library11.namedConstructor(this.fld); | 10 Library11.namedConstructor(this.fld); |
11 func() { | 11 func() { |
12 return 3; | 12 return 3; |
13 } | 13 } |
| 14 |
14 var fld; | 15 var fld; |
15 static static_func() { | 16 static static_func() { |
16 return 2; | 17 return 2; |
17 } | 18 } |
| 19 |
18 static var static_fld = 1; | 20 static var static_fld = 1; |
19 } | 21 } |
20 | 22 |
21 class Library111<T> { | 23 class Library111<T> { |
22 Library111.namedConstructor(T this.fld); | 24 Library111.namedConstructor(T this.fld); |
23 T fld; | 25 T fld; |
24 } | 26 } |
25 | 27 |
26 | |
27 const int top_level11 = 100; | 28 const int top_level11 = 100; |
28 top_level_func11() { | 29 top_level_func11() { |
29 return 200; | 30 return 200; |
30 } | 31 } |
OLD | NEW |