Chromium Code Reviews| Index: lib/compiler/implementation/universe/universe.dart |
| =================================================================== |
| --- lib/compiler/implementation/universe/universe.dart (revision 14453) |
| +++ lib/compiler/implementation/universe/universe.dart (working copy) |
| @@ -430,7 +430,7 @@ |
| return appliesUntyped(element, compiler); |
| } |
| - if (!self.isInterface() && self.isSubclassOf(other)) { |
| + if (!self.isTypedef() && !self.isInterface() && self.isSubclassOf(other)) { |
|
ahe
2012/11/05 08:33:32
I think it would be better with a positive test, s
ngeoffray
2012/11/05 10:51:03
Done.
|
| // Resolve an invocation of [element.name] on [self]. If it |
| // is found, this selector is a candidate. |
| return hasElementIn(self, element) && appliesUntyped(element, compiler); |