| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 import 'compiler_helper.dart'; | 5 import 'compiler_helper.dart'; |
| 6 | 6 |
| 7 const int REMOVED = 0; | 7 const int REMOVED = 0; |
| 8 const int ABOVE_ZERO = 1; | 8 const int ABOVE_ZERO = 1; |
| 9 const int BELOW_LENGTH = 2; | 9 const int BELOW_LENGTH = 2; |
| 10 const int KEPT = 3; | 10 const int KEPT = 3; |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 abstract class num {} | 206 abstract class num {} |
| 207 abstract class int extends num { } | 207 abstract class int extends num { } |
| 208 abstract class double extends num { } | 208 abstract class double extends num { } |
| 209 class bool {} | 209 class bool {} |
| 210 class String {} | 210 class String {} |
| 211 class Object {} | 211 class Object {} |
| 212 class Type {} | 212 class Type {} |
| 213 class Function {} | 213 class Function {} |
| 214 class List { | 214 class List { |
| 215 List([int length]); | 215 List([int length]); |
| 216 List.filled(int length, fill); | |
| 217 } | 216 } |
| 218 abstract class Map {} | 217 abstract class Map {} |
| 219 class Closure {} | 218 class Closure {} |
| 220 class Null {} | 219 class Null {} |
| 221 class Dynamic_ {} | 220 class Dynamic_ {} |
| 222 bool identical(Object a, Object b) {}'''; | 221 bool identical(Object a, Object b) {}'''; |
| 223 | 222 |
| 224 const String INTERCEPTORSLIB_WITH_MEMBERS = r''' | 223 const String INTERCEPTORSLIB_WITH_MEMBERS = r''' |
| 225 class JSIndexable {} | 224 class JSIndexable {} |
| 226 class JSArray implements JSIndexable { | 225 class JSArray implements JSIndexable { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 break; | 302 break; |
| 304 } | 303 } |
| 305 } | 304 } |
| 306 | 305 |
| 307 | 306 |
| 308 main() { | 307 main() { |
| 309 for (int i = 0; i < TESTS.length; i += 2) { | 308 for (int i = 0; i < TESTS.length; i += 2) { |
| 310 expect(TESTS[i], TESTS[i + 1]); | 309 expect(TESTS[i], TESTS[i + 1]); |
| 311 } | 310 } |
| 312 } | 311 } |
| OLD | NEW |