Index: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart |
=================================================================== |
--- dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart (revision 30037) |
+++ dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart (working copy) |
@@ -2172,12 +2172,14 @@ |
Link<FunctionElement> constructors = new Link<FunctionElement>(); |
- ClassElement mixin; |
+ InterfaceType mixinType; |
MixinApplicationElementX(String name, Element enclosing, int id, |
this.node, this.modifiers) |
: super(name, enclosing, id, STATE_NOT_STARTED); |
+ ClassElement get mixin => mixinType != null ? mixinType.element : null; |
+ |
bool get isMixinApplication => true; |
bool get isUnnamedMixinApplication => node is! NamedMixinApplication; |
bool get hasConstructor => !constructors.isEmpty; |