Index: sdk/lib/_internal/compiler/implementation/universe/universe.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/universe/universe.dart b/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
index e6216cb5b9190443749cb35bc4eaec4d99c938b0..6fc897cc187ed54100aae571cda43c7161e432ec 100644 |
--- a/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
+++ b/sdk/lib/_internal/compiler/implementation/universe/universe.dart |
@@ -435,7 +435,8 @@ class TypedSelector extends Selector { |
// If [self] is a subclass of [other], it inherits the |
// implementation of [element]. |
- if (self.isSubclassOf(other)) { |
+ ClassElement classySelf = self; |
ngeoffray
2012/11/21 10:22:11
classySelf -> cls
karlklose
2012/11/21 11:33:32
Done.
ahe
2012/11/22 16:11:30
LOL!
|
+ if (classySelf.isSubclassOf(other)) { |
// Resolve an invocation of [element.name] on [self]. If it |
// is found, this selector is a candidate. |
return hasElementIn(self, element) && appliesUntyped(element, compiler); |