Index: sdk/lib/_internal/compiler/implementation/closure.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/closure.dart b/sdk/lib/_internal/compiler/implementation/closure.dart |
index cb2be384df8cfeeefa31795cd462e49030406639..85930ff7892070afc57584e5d467ed245cdeddd1 100644 |
--- a/sdk/lib/_internal/compiler/implementation/closure.dart |
+++ b/sdk/lib/_internal/compiler/implementation/closure.dart |
@@ -131,8 +131,9 @@ class ClosureClassElement extends ClassElementX { |
superclass.ensureResolved(compiler); |
supertype = superclass.computeType(compiler); |
interfaces = const Link<DartType>(); |
- allSupertypes = const Link<DartType>().prepend(supertype); |
thisType = rawType = new InterfaceType(this); |
+ allSupertypesAndSelf = |
+ superclass.allSupertypesAndSelf.extendClass(thisType); |
} |
bool isClosure() => true; |