| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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:expect/expect.dart'; | 5 import 'package:expect/expect.dart'; |
| 6 | 6 |
| 7 import "package:async_helper/async_helper.dart"; | 7 import "package:async_helper/async_helper.dart"; |
| 8 import 'compiler_helper.dart'; | 8 import 'compiler_helper.dart'; |
| 9 import 'package:compiler/src/types/types.dart'; | 9 import 'package:compiler/src/types/types.dart'; |
| 10 import 'parser_helper.dart'; |
| 10 import 'type_mask_test_helper.dart'; | 11 import 'type_mask_test_helper.dart'; |
| 11 | 12 |
| 12 const String TEST1 = """ | 13 const String TEST1 = """ |
| 13 class A { | 14 class A { |
| 14 noSuchMethod(im) => 42; | 15 noSuchMethod(im) => 42; |
| 15 } | 16 } |
| 16 | 17 |
| 17 class B extends A { | 18 class B extends A { |
| 18 foo(); | 19 foo(); |
| 19 } | 20 } |
| (...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 var compiler4 = compilerFor(TEST4, uri); | 215 var compiler4 = compilerFor(TEST4, uri); |
| 215 asyncTest(() => compiler4.runCompiler(uri).then((_) { | 216 asyncTest(() => compiler4.runCompiler(uri).then((_) { |
| 216 checkReturn(compiler4, 'test1', const TypeMask.nonNullEmpty()); | 217 checkReturn(compiler4, 'test1', const TypeMask.nonNullEmpty()); |
| 217 checkReturn(compiler4, 'test2', compiler4.typesTask.mapType); | 218 checkReturn(compiler4, 'test2', compiler4.typesTask.mapType); |
| 218 checkReturn(compiler4, 'test3', compiler4.typesTask.mapType); | 219 checkReturn(compiler4, 'test3', compiler4.typesTask.mapType); |
| 219 checkReturn(compiler4, 'test4', compiler4.typesTask.mapType); | 220 checkReturn(compiler4, 'test4', compiler4.typesTask.mapType); |
| 220 checkReturn(compiler4, 'test5', compiler4.typesTask.mapType); | 221 checkReturn(compiler4, 'test5', compiler4.typesTask.mapType); |
| 221 checkReturn(compiler4, 'test6', compiler4.typesTask.mapType); | 222 checkReturn(compiler4, 'test6', compiler4.typesTask.mapType); |
| 222 })); | 223 })); |
| 223 } | 224 } |
| OLD | NEW |