Index: pkg/compiler/lib/src/resolution/typedefs.dart |
diff --git a/pkg/compiler/lib/src/resolution/typedefs.dart b/pkg/compiler/lib/src/resolution/typedefs.dart |
index 11f57c738323bd9ea26fa51eca6a0a74da5b886c..7d37df6ed1091a5eea8f7978edda08c3de20be99 100644 |
--- a/pkg/compiler/lib/src/resolution/typedefs.dart |
+++ b/pkg/compiler/lib/src/resolution/typedefs.dart |
@@ -53,7 +53,7 @@ class TypedefResolverVisitor extends TypeDefinitionVisitor { |
scope = new MethodScope(scope, element); |
signature.forEachParameter(addToScope); |
- element.alias = signature.type; |
+ element.aliasCache = signature.type; |
void checkCyclicReference() { |
element.checkCyclicReference(resolution); |
@@ -118,15 +118,15 @@ class TypedefCyclicVisitor extends BaseDartTypeVisitor { |
MessageKind.CYCLIC_TYPEDEF, |
{'typedefName': element.name}, |
element.name, element); |
- element.alias = |
- new MalformedType(erroneousElement, typedefElement.alias); |
+ element.aliasCache = |
+ new MalformedType(erroneousElement, typedefElement.aliasCache); |
element.hasBeenCheckedForCycles = true; |
} |
} else { |
seenTypedefs = seenTypedefs.prepend(typedefElement); |
seenTypedefsCount++; |
type.visitChildren(this, null); |
- typedefElement.alias.accept(this, null); |
+ typedefElement.aliasCache.accept(this, null); |
seenTypedefs = seenTypedefs.tail; |
seenTypedefsCount--; |
} |