| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 library dart2js.serialization_test_helper; | 5 library dart2js.serialization_test_helper; |
| 6 | 6 |
| 7 import 'dart:io'; | 7 import 'dart:io'; |
| 8 import 'memory_compiler.dart'; | 8 import '../memory_compiler.dart'; |
| 9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
| 10 import 'package:compiler/src/common/resolution.dart'; | 10 import 'package:compiler/src/common/resolution.dart'; |
| 11 import 'package:compiler/src/commandline_options.dart'; | 11 import 'package:compiler/src/commandline_options.dart'; |
| 12 import 'package:compiler/src/constants/constructors.dart'; | 12 import 'package:compiler/src/constants/constructors.dart'; |
| 13 import 'package:compiler/src/constants/expressions.dart'; | 13 import 'package:compiler/src/constants/expressions.dart'; |
| 14 import 'package:compiler/src/dart_types.dart'; | 14 import 'package:compiler/src/dart_types.dart'; |
| 15 import 'package:compiler/src/compiler.dart'; | 15 import 'package:compiler/src/compiler.dart'; |
| 16 import 'package:compiler/src/diagnostics/invariant.dart'; | 16 import 'package:compiler/src/diagnostics/invariant.dart'; |
| 17 import 'package:compiler/src/elements/elements.dart'; | 17 import 'package:compiler/src/elements/elements.dart'; |
| 18 import 'package:compiler/src/elements/visitor.dart'; | 18 import 'package:compiler/src/elements/visitor.dart'; |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 | 373 |
| 374 if (impact1 == null) { | 374 if (impact1 == null) { |
| 375 throw 'Missing impact for $member1. $member2 has $impact2'; | 375 throw 'Missing impact for $member1. $member2 has $impact2'; |
| 376 } | 376 } |
| 377 if (impact2 == null) { | 377 if (impact2 == null) { |
| 378 throw 'Missing impact for $member2. $member1 has $impact1'; | 378 throw 'Missing impact for $member2. $member1 has $impact1'; |
| 379 } | 379 } |
| 380 | 380 |
| 381 testResolutionImpactEquivalence(impact1, impact2, const CheckStrategy()); | 381 testResolutionImpactEquivalence(impact1, impact2, const CheckStrategy()); |
| 382 } | 382 } |
| OLD | NEW |