OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 'dart:async'; | |
6 import 'package:async_helper/async_helper.dart'; | 5 import 'package:async_helper/async_helper.dart'; |
7 import 'package:compiler/src/common_elements.dart'; | 6 import 'package:compiler/src/common_elements.dart'; |
8 import 'package:compiler/src/compiler.dart'; | 7 import 'package:compiler/src/compiler.dart'; |
9 import 'package:compiler/src/elements/entities.dart'; | 8 import 'package:compiler/src/elements/entities.dart'; |
10 import 'package:compiler/src/js_backend/no_such_method_registry.dart'; | 9 import 'package:compiler/src/js_backend/no_such_method_registry.dart'; |
11 import 'package:compiler/src/world.dart'; | 10 import 'package:compiler/src/world.dart'; |
12 import 'package:expect/expect.dart'; | 11 import 'package:expect/expect.dart'; |
13 import 'kernel/compiler_helper.dart'; | 12 import 'kernel/compiler_helper.dart'; |
14 import 'compiler_helper.dart'; | 13 import 'compiler_helper.dart'; |
15 | 14 |
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
346 registry.complexReturningImpls.contains(noSuchMethod), | 345 registry.complexReturningImpls.contains(noSuchMethod), |
347 "Unexpected isComplexReturn result on $noSuchMethod."); | 346 "Unexpected isComplexReturn result on $noSuchMethod."); |
348 } | 347 } |
349 } | 348 } |
350 | 349 |
351 Expect.equals( | 350 Expect.equals( |
352 test.isNoSuchMethodUsed, | 351 test.isNoSuchMethodUsed, |
353 closedWorld.backendUsage.isNoSuchMethodUsed, | 352 closedWorld.backendUsage.isNoSuchMethodUsed, |
354 "Unexpected isNoSuchMethodUsed result."); | 353 "Unexpected isNoSuchMethodUsed result."); |
355 } | 354 } |
OLD | NEW |