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

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: 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
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..2145f7fc8d820899718513eb087b11e464987398 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
@@ -123,6 +123,13 @@ public interface ClassElement extends Element {
public boolean isAbstract();
/**
+ * Return {@code true} if this class refers to super (so, for example, cannot be used as a mixin).
+ *
+ * @return {@code true} if this class refers to super
+ */
+ public boolean isReferencesSuper();
Brian Wilkerson 2013/05/09 20:41:37 I think either "hasReferenceToSuper" or "reference
scheglov 2013/05/09 21:23:50 Done.
+
+ /**
* Return {@code true} if this class is defined by a typedef construct.
*
* @return {@code true} if this class is defined by a typedef construct

Powered by Google App Engine
This is Rietveld 408576698