Chromium Code Reviews| Index: lib/compiler/implementation/resolver.dart |
| diff --git a/lib/compiler/implementation/resolver.dart b/lib/compiler/implementation/resolver.dart |
| index b169bec2a9c83dda9449d0ca5dba4e8385e75278..f137c9d43486755a575bd0b0e5592f95582296dd 100644 |
| --- a/lib/compiler/implementation/resolver.dart |
| +++ b/lib/compiler/implementation/resolver.dart |
| @@ -1952,13 +1952,14 @@ class ClassResolverVisitor extends TypeDefinitionVisitor { |
| if (cls.allSupertypes !== null) return; |
| final Type supertype = cls.supertype; |
| if (supertype != null) { |
| - Link<Type> superSupertypes = supertype.element.allSupertypes; |
| + ClassElement superelement = supertype.element; |
|
ahe
2012/08/20 15:23:16
superelement -> superElement.
|
| + Link<Type> superSupertypes = superelement.allSupertypes; |
| assert(superSupertypes !== null); |
| Link<Type> supertypes = new Link<Type>(supertype, superSupertypes); |
| for (Link<Type> interfaces = cls.interfaces; |
| !interfaces.isEmpty(); |
| interfaces = interfaces.tail) { |
| - Element element = interfaces.head.element; |
| + ClassElement element = interfaces.head.element; |
| Link<Type> interfaceSupertypes = element.allSupertypes; |
| assert(interfaceSupertypes !== null); |
| supertypes = supertypes.reversePrependAll(interfaceSupertypes); |