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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.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/DynamicElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
index 93c31a2b52a9be7bea3b83a61e800baa7486ee68..3950e8580a1e473e6452d372875c44345655afd4 100644
--- a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
@@ -322,4 +322,9 @@ class DynamicElementImplementation extends AbstractNodeElement implements Dynami
public int getCloseBraceOffset() {
return -1;
}
+
+ @Override
+ public boolean hasSuperInvocation() {
+ return false;
+ }
}

Powered by Google App Engine
This is Rietveld 408576698