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

Unified Diff: compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.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/DynamicTypeImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java b/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
index d16189d5e0b6ad3be76019822987a431b5733f45..ff6cd5db3498a44fe7b7fe8f5c2b4db4ebd77df8 100644
--- a/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
+++ b/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
@@ -18,8 +18,8 @@ import java.util.Map;
class DynamicTypeImplementation extends AbstractType implements DynamicType {
@Override
- public DynamicTypeImplementation subst(List<? extends Type> arguments,
- List<? extends Type> parameters) {
+ public DynamicTypeImplementation subst(List<Type> arguments,
+ List<Type> parameters) {
return this;
}
@@ -49,7 +49,7 @@ class DynamicTypeImplementation extends AbstractType implements DynamicType {
}
@Override
- public List<? extends Type> getArguments() {
+ public List<Type> getArguments() {
return Collections.<Type>emptyList();
}
@@ -79,8 +79,8 @@ class DynamicTypeImplementation extends AbstractType implements DynamicType {
}
@Override
- public List<? extends Type> getParameterTypes() {
- return Collections.<Type>emptyList();
+ public List<Type> getParameterTypes() {
+ return Collections.emptyList();
}
@Override

Powered by Google App Engine
This is Rietveld 408576698