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

Unified Diff: pkg/front_end/lib/src/fasta/builder/class_builder.dart

Issue 2689303003: Implement type variables in mixin applications. (Closed)
Patch Set: Restore duplication handling and set mixedInType. Created 3 years, 10 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/front_end/lib/src/fasta/builder/class_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/class_builder.dart b/pkg/front_end/lib/src/fasta/builder/class_builder.dart
index 926a70818d6a7cabdcac93182c50c432267cf89f..4ced50213083a406661179718d4be8f488efe00b 100644
--- a/pkg/front_end/lib/src/fasta/builder/class_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/class_builder.dart
@@ -33,6 +33,12 @@ abstract class ClassBuilder<T extends TypeBuilder, R>
this.members, LibraryBuilder parent, int charOffset)
: super(metadata, modifiers, name, parent, charOffset);
+ /// Returns true if this class is the result of applying a mixin to its
+ /// superclass.
+ bool get isMixinApplication => mixedInType != null;
+
+ T get mixedInType;
+
List<ConstructorReferenceBuilder> get constructorReferences => null;
Map<String, Builder> get constructors;

Powered by Google App Engine
This is Rietveld 408576698