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

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

Issue 8948001: Updates dartc to recognize 'default' keyword on interface and updated factory method syntax (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Got rid of some problems. 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/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 65e485719eb1b98a05500d027a1d6e7d1b3c17bf..4e95f7aa99713d8894be3d5e7b3ae94400b4bd53 100644
--- a/compiler/java/com/google/dart/compiler/resolver/SyntheticDefaultConstructorElement.java
+++ b/compiler/java/com/google/dart/compiler/resolver/SyntheticDefaultConstructorElement.java
@@ -9,7 +9,6 @@ import com.google.dart.compiler.ast.DartNode;
import com.google.dart.compiler.ast.Modifiers;
import com.google.dart.compiler.type.FunctionType;
import com.google.dart.compiler.type.Type;
-import com.google.dart.compiler.type.TypeVariable;
import com.google.dart.compiler.type.Types;
import java.util.Collections;
@@ -35,8 +34,7 @@ public class SyntheticDefaultConstructorElement implements ConstructorElement {
null,
typeProvider.getFunctionType().getElement(),
getParameters(),
- typeProvider.getDynamicType(),
- Collections.<TypeVariable>emptyList());
+ typeProvider.getDynamicType());
} else {
functionType = null;
}

Powered by Google App Engine
This is Rietveld 408576698