Index: pkg/compiler/lib/src/universe/universe.dart |
diff --git a/pkg/compiler/lib/src/universe/universe.dart b/pkg/compiler/lib/src/universe/universe.dart |
index 6e572b5e9107e0c62f623b45e50254d4368d634a..1d0fd673992abf6875c488cd83c5f224af11c527 100644 |
--- a/pkg/compiler/lib/src/universe/universe.dart |
+++ b/pkg/compiler/lib/src/universe/universe.dart |
@@ -6,8 +6,6 @@ library universe; |
import 'dart:collection'; |
-import '../common/resolution.dart' show |
- Resolution; |
import '../compiler.dart' show |
Compiler; |
import '../diagnostics/invariant.dart' show |
@@ -384,7 +382,8 @@ class Universe { |
} |
DartType registerIsCheck(DartType type, Compiler compiler) { |
- type = type.unalias(compiler.resolution); |
+ type.computeUnaliased(compiler.resolution); |
+ type = type.unaliased; |
// Even in checked mode, type annotations for return type and argument |
// types do not imply type checks, so there should never be a check |
// against the type variable of a typedef. |