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

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

Issue 10983089: Issue 3968. Report error if cycle in redirecting factory constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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/SyntheticDefaultConstructorElement.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/SyntheticDefaultConstructorElement.java b/compiler/java/com/google/dart/compiler/resolver/SyntheticDefaultConstructorElement.java
index 55c5c53cd494053b6f9d46f6b46644c184b843d2..493d11b5348a272b79cc09f93d7899ca7b5c1c59 100644
--- a/compiler/java/com/google/dart/compiler/resolver/SyntheticDefaultConstructorElement.java
+++ b/compiler/java/com/google/dart/compiler/resolver/SyntheticDefaultConstructorElement.java
@@ -86,6 +86,11 @@ public class SyntheticDefaultConstructorElement extends AbstractNodeElement
}
@Override
+ public ConstructorElement getRedirectingFactoryConstructor() {
+ return null;
+ }
+
+ @Override
public void setDefaultConstructor(ConstructorElement defaultConstructor) {
this.defaultConstructor = defaultConstructor;
}

Powered by Google App Engine
This is Rietveld 408576698