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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.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/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 69432790095853e171361fe3dd598306cf097561..fb2bd2b7380fa5930e5992ffb1c1f743462d2be4 100644
--- a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
@@ -111,6 +111,11 @@ class DynamicElementImplementation extends AbstractNodeElement implements Dynami
}
@Override
+ public ConstructorElement getRedirectingFactoryConstructor() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public void setDefaultConstructor(ConstructorElement defaultConstructor) {
throw new UnsupportedOperationException();
}

Powered by Google App Engine
This is Rietveld 408576698