| 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 "package:async_helper/async_helper.dart"; | 5 import "package:async_helper/async_helper.dart"; |
| 6 import "package:expect/expect.dart"; | 6 import "package:expect/expect.dart"; |
| 7 import "compiler_helper.dart"; | 7 import "compiler_helper.dart"; |
| 8 import "package:compiler/implementation/types/types.dart"; | 8 import "package:compiler/src/types/types.dart"; |
| 9 import "type_mask_test_helper.dart"; | 9 import "type_mask_test_helper.dart"; |
| 10 import 'package:compiler/implementation/js_backend/js_backend.dart'; | 10 import 'package:compiler/src/js_backend/js_backend.dart'; |
| 11 | 11 |
| 12 TypeMask nullType; | 12 TypeMask nullType; |
| 13 TypeMask objectType; | 13 TypeMask objectType; |
| 14 TypeMask jsBoolean; | 14 TypeMask jsBoolean; |
| 15 TypeMask jsNumber; | 15 TypeMask jsNumber; |
| 16 TypeMask jsInteger; | 16 TypeMask jsInteger; |
| 17 TypeMask jsDouble; | 17 TypeMask jsDouble; |
| 18 TypeMask jsBooleanOrNull; | 18 TypeMask jsBooleanOrNull; |
| 19 TypeMask jsNumberOrNull; | 19 TypeMask jsNumberOrNull; |
| 20 TypeMask jsIntegerOrNull; | 20 TypeMask jsIntegerOrNull; |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 736 compiler.objectClass, world); | 736 compiler.objectClass, world); |
| 737 emptyType = const TypeMask.nonNullEmpty(); | 737 emptyType = const TypeMask.nonNullEmpty(); |
| 738 dynamicType = new TypeMask.subclass( | 738 dynamicType = new TypeMask.subclass( |
| 739 compiler.objectClass, world); | 739 compiler.objectClass, world); |
| 740 | 740 |
| 741 testUnion(compiler); | 741 testUnion(compiler); |
| 742 testIntersection(compiler); | 742 testIntersection(compiler); |
| 743 testRegressions(compiler); | 743 testRegressions(compiler); |
| 744 })); | 744 })); |
| 745 } | 745 } |
| OLD | NEW |