| Index: pkg/compiler/lib/src/js_backend/runtime_types.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/runtime_types.dart b/pkg/compiler/lib/src/js_backend/runtime_types.dart
|
| index d6f02eb3ef71366ef04fc33569cf0db9a2cd09b1..b48cb05d6b9140c1c3a023e25a62c1c83b1b9cbe 100644
|
| --- a/pkg/compiler/lib/src/js_backend/runtime_types.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/runtime_types.dart
|
| @@ -744,7 +744,7 @@ class TypeRepresentationGenerator implements DartTypeVisitor {
|
|
|
| visitTypedefType(TypedefType type, _) {
|
| bool shouldEncode = shouldEncodeTypedef(type);
|
| - DartType unaliasedType = type.unalias(compiler);
|
| + DartType unaliasedType = type.unalias(compiler.resolution);
|
| if (shouldEncode) {
|
| jsAst.ObjectInitializer initializer = unaliasedType.accept(this, null);
|
| // We have to encode the aliased type.
|
| @@ -814,7 +814,7 @@ class ArgumentCollector extends DartTypeVisitor {
|
| }
|
|
|
| visitTypedefType(TypedefType type, bool isTypeArgument) {
|
| - type.unalias(backend.compiler).accept(this, isTypeArgument);
|
| + type.unalias(backend.resolution).accept(this, isTypeArgument);
|
| }
|
|
|
| visitInterfaceType(InterfaceType type, bool isTypeArgument) {
|
| @@ -846,7 +846,7 @@ class FunctionArgumentCollector extends DartTypeVisitor {
|
| }
|
|
|
| visitTypedefType(TypedefType type, bool inFunctionType) {
|
| - type.unalias(backend.compiler).accept(this, inFunctionType);
|
| + type.unalias(backend.resolution).accept(this, inFunctionType);
|
| }
|
|
|
| visitInterfaceType(InterfaceType type, bool inFunctionType) {
|
|
|