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

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

Issue 8786002: Check that interface constructors and default class constructors are compatible. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Check that types of constructors parameters are identical Created 9 years 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 300fb084897d05bb027675875202edaf01ee8f54..20efbf52d342e9312910bfe05614743eb7d5c4ed 100644
--- a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
@@ -97,6 +97,16 @@ class DynamicElementImplementation extends AbstractElement implements DynamicEle
}
@Override
+ public ConstructorElement getDefaultConstructor() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void setDefaultConstructor(ConstructorElement defaultConstructor) {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
public boolean isStatic() {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698