| 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 var fld; | 14 var fld; |
| 15 static static_func() { | 15 static static_func() { |
| 16 return 2; | 16 return 2; |
| 17 } | 17 } |
| 18 static var static_fld = 1; | 18 static var static_fld = 1; |
| 19 } | 19 } |
| 20 | 20 |
| 21 class Library111<T> { | 21 class Library111<T> { |
| 22 Library111.namedConstructor(T this.fld); | 22 Library111.namedConstructor(T this.fld); |
| 23 T fld; | 23 T fld; |
| 24 } | 24 } |
| 25 | 25 |
| 26 | 26 |
| 27 final int top_level11 = 100; | 27 const int top_level11 = 100; |
| 28 top_level_func11() { | 28 top_level_func11() { |
| 29 return 200; | 29 return 200; |
| 30 } | 30 } |
| OLD | NEW |