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

Unified Diff: compiler/java/com/google/dart/compiler/type/TypeVariableImplementation.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/TypeVariableImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/type/TypeVariableImplementation.java b/compiler/java/com/google/dart/compiler/type/TypeVariableImplementation.java
index 636c424793502eb2604766022b15cc0d0b071980..2e937c76b9f88f5d51325f8711c0acc95d226550 100644
--- a/compiler/java/com/google/dart/compiler/type/TypeVariableImplementation.java
+++ b/compiler/java/com/google/dart/compiler/type/TypeVariableImplementation.java
@@ -41,7 +41,7 @@ class TypeVariableImplementation extends AbstractType implements TypeVariable {
}
@Override
- public Type subst(List<? extends Type> arguments, List<? extends Type> parameters) {
+ public Type subst(List<Type> arguments, List<Type> parameters) {
Iterator<? extends Type> itA = arguments.iterator();
Iterator<? extends Type> itP = parameters.iterator();
while (itA.hasNext() && itP.hasNext()) {

Powered by Google App Engine
This is Rietveld 408576698