Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart |
=================================================================== |
--- sdk/lib/_internal/compiler/implementation/resolution/members.dart (revision 15242) |
+++ sdk/lib/_internal/compiler/implementation/resolution/members.dart (working copy) |
@@ -1121,7 +1121,7 @@ |
// Use the canonical type if it has no type parameters. |
type = cls.computeType(compiler); |
} else { |
- type = new InterfaceType(cls, arguments); |
+ type = new InterfaceType(cls.declaration, arguments); |
} |
} else if (element.isTypedef()) { |
TypedefElement typdef = element; |