Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(276)

Unified Diff: lib/compiler/implementation/resolver.dart

Issue 10824350: Fix some type warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698