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

Unified Diff: compiler/java/com/google/dart/compiler/type/FunctionAliasTypeImplementation.java

Issue 9270016: Issue 932. Checks for various named arguments cases. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks for comments, changes in tests. Created 8 years, 11 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/type/FunctionAliasTypeImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/type/FunctionAliasTypeImplementation.java b/compiler/java/com/google/dart/compiler/type/FunctionAliasTypeImplementation.java
index 0bcda1deb07124168accd0b2d2a0831f2d1cc5f4..515846e6aa81680d16726a70b1e1970a6042d9cf 100644
--- a/compiler/java/com/google/dart/compiler/type/FunctionAliasTypeImplementation.java
+++ b/compiler/java/com/google/dart/compiler/type/FunctionAliasTypeImplementation.java
@@ -11,7 +11,7 @@ import java.util.List;
class FunctionAliasTypeImplementation extends InterfaceTypeImplementation
implements FunctionAliasType {
- FunctionAliasTypeImplementation(FunctionAliasElement element, List<? extends Type> arguments) {
+ FunctionAliasTypeImplementation(FunctionAliasElement element, List<Type> arguments) {
super(element, arguments);
}
@@ -26,7 +26,7 @@ class FunctionAliasTypeImplementation extends InterfaceTypeImplementation
}
@Override
- public FunctionAliasType subst(List<? extends Type> arguments, List<? extends Type> parameters) {
+ public FunctionAliasType subst(List<Type> arguments, List<Type> parameters) {
if (arguments.isEmpty() && parameters.isEmpty()) {
return this;
}

Powered by Google App Engine
This is Rietveld 408576698