Index: tests/compiler/dart2js/related_types.dart |
diff --git a/tests/compiler/dart2js/related_types.dart b/tests/compiler/dart2js/related_types.dart |
index 6e3f8b2974f38b1db4f19f5364243497cdb075a8..d4d26d2f4fcea04fb7f0f647b98a392c8577ab12 100644 |
--- a/tests/compiler/dart2js/related_types.dart |
+++ b/tests/compiler/dart2js/related_types.dart |
@@ -153,7 +153,7 @@ class RelatedTypesChecker extends TraversalVisitor<DartType, dynamic> { |
/// Return the interface type implemented by [type] or `null` if no interface |
/// type is implied by [type]. |
InterfaceType findInterfaceType(DartType type) { |
- return Types.computeInterfaceType(compiler, type); |
+ return Types.computeInterfaceType(compiler.resolution, type); |
} |
/// Returns the supertype of [receiver] that implements [cls], if any. |