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

Unified Diff: compiler/java/com/google/dart/compiler/backend/js/Normalizer.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/backend/js/Normalizer.java
diff --git a/compiler/java/com/google/dart/compiler/backend/js/Normalizer.java b/compiler/java/com/google/dart/compiler/backend/js/Normalizer.java
index d34b78d2365ba94c80f3540961a1f804f0f306c3..36d35a4dabfe09b330650f36f52d021fa7fa980b 100644
--- a/compiler/java/com/google/dart/compiler/backend/js/Normalizer.java
+++ b/compiler/java/com/google/dart/compiler/backend/js/Normalizer.java
@@ -662,6 +662,16 @@ public class Normalizer {
public boolean isConstructor() {
return true;
}
+
+ @Override
+ public ConstructorElement getDefaultConstructor() {
+ throw new UnsupportedOperationException();
+ }
+
+ @Override
+ public void setDefaultConstructor(ConstructorElement defaultConstructor) {
+ throw new UnsupportedOperationException();
+ }
@Override
public Type getReturnType() {

Powered by Google App Engine
This is Rietveld 408576698