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

Unified Diff: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassElement.java

Issue 14698013: Report CompileTimeErrorCode.MIXIN_REFERENCES_SUPER (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixes for review comments Created 7 years, 7 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
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassElement.java
diff --git a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassElement.java b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassElement.java
index e835b0e9605a2c2fcab3bfdc671f3dd55dedf5ad..c31dc198e46810eb7811623eff06add421fe6ad7 100644
--- a/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassElement.java
+++ b/editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/element/ClassElement.java
@@ -114,6 +114,14 @@ public interface ClassElement extends Element {
public ConstructorElement getUnnamedConstructor();
/**
+ * Return {@code true} if this class has reference to super (so, for example, cannot be used as a
+ * mixin).
+ *
+ * @return {@code true} if this class has reference to super
+ */
+ public boolean hasReferenceToSuper();
+
+ /**
* Return {@code true} if this class is abstract. A class is abstract if it has an explicit
* {@code abstract} modifier. Note, that this definition of <i>abstract</i> is different from
* <i>has unimplemented members</i>.
« no previous file with comments | « no previous file | editor/tools/plugins/com.google.dart.engine/src/com/google/dart/engine/error/CompileTimeErrorCode.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698