Index: tests/compiler/dart2js/type_test_helper.dart |
diff --git a/tests/compiler/dart2js/type_test_helper.dart b/tests/compiler/dart2js/type_test_helper.dart |
index 1e20ba761f0b950cb3cdc805fdc6e2e58a0a40b5..5e91f774939c3dbf5f7c17959b033e828f552de9 100644 |
--- a/tests/compiler/dart2js/type_test_helper.dart |
+++ b/tests/compiler/dart2js/type_test_helper.dart |
@@ -8,6 +8,7 @@ import 'dart:async'; |
import 'package:expect/expect.dart'; |
import 'compiler_helper.dart' as mock; |
import 'memory_compiler.dart' as memory; |
+import 'package:compiler/src/common/resolution.dart'; |
import 'package:compiler/src/commandline_options.dart'; |
import 'package:compiler/src/dart_types.dart'; |
import 'package:compiler/src/compiler.dart' |
@@ -31,6 +32,8 @@ GenericType instantiate(TypeDeclarationElement element, |
class TypeEnvironment { |
final Compiler compiler; |
+ Resolution get resolution => compiler.resolution; |
+ |
static Future<TypeEnvironment> create( |
String source, {bool useMockCompiler: true, |
bool expectNoErrors: false, |