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

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

Issue 12039054: Issue 8059. Disallow mixing in classes that use 'super' from any member. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 145205feaa55323f012d02bf80c327f0842969f7..59e5fad0524cd9b23d11a42d2078d5a2044a6bf8 100644
--- a/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
+++ b/compiler/java/com/google/dart/compiler/resolver/ClassElementUnion.java
@@ -203,4 +203,9 @@ public class ClassElementUnion implements ClassElement {
public int getCloseBraceOffset() {
return -1;
}
+
+ @Override
+ public boolean hasSuperInvocation() {
+ return false;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698