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

Unified Diff: pkg/compiler/lib/src/elements/elements.dart

Issue 1352533002: Enqueue superclasses instead of supertypes. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 months 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: pkg/compiler/lib/src/elements/elements.dart
diff --git a/pkg/compiler/lib/src/elements/elements.dart b/pkg/compiler/lib/src/elements/elements.dart
index 7c538b5906a3470fc5834d6cab81d74e086ee0e8..e36de78093bf31f883f752aa67984fd68283964b 100644
--- a/pkg/compiler/lib/src/elements/elements.dart
+++ b/pkg/compiler/lib/src/elements/elements.dart
@@ -1392,8 +1392,23 @@ abstract class ClassElement extends TypeDeclarationElement
/// `true` if this class is an enum declaration.
bool get isEnumClass;
+
+ /// `true` if this class is a mixin application, either named or unnamed.
bool get isMixinApplication;
+
+ /// `true` if this class is a named mixin application, e.g.
+ ///
+ /// class NamedMixinApplication = SuperClass with MixinClass;
+ ///
+ bool get isNamedMixinApplication;
+
+ /// `true` if this class is an unnamed mixin application, e.g. the synthesized
+ /// `SuperClass+MixinClass` mixin application class in:
+ ///
+ /// class Class extends SuperClass with MixinClass {}
+ ///
bool get isUnnamedMixinApplication;
+
bool get hasBackendMembers;
bool get hasLocalScopeMembers;

Powered by Google App Engine
This is Rietveld 408576698