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

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

Issue 11361059: Fix issue 6472 that exhibited a few crashing bugs in dart2js. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/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);

Powered by Google App Engine
This is Rietveld 408576698