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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 64033002: Version 0.8.10.8 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 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: 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;

Powered by Google App Engine
This is Rietveld 408576698