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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java

Issue 11776037: Initial support for mixins in dartc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Forgot MixinScope.java Created 7 years, 11 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: compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java b/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
index fc521f1643587c506b0f5c1d296d3fb3c00b2502..145205feaa55323f012d02bf80c327f0842969f7 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
@@ -74,6 +74,11 @@ public class ClassElementUnion implements ClassElement {
}
return interfaces;
}
+
+ @Override
+ public List<InterfaceType> getMixins() {
+ return ImmutableList.of();
+ }
@Override
public List<InterfaceType> getAllSupertypes() throws CyclicDeclarationException {

Powered by Google App Engine
This is Rietveld 408576698