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

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

Issue 10828355: Issue 4289. Test that arguments are bound to positional, optional and named parameters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Prepare for making optional parameter not named Created 8 years, 4 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 068c18bfe4e8bc179ec718797c113fcc9aaa63ab..9b1d6c9f3b49f0de872ae28e83f662514a51726f 100644
--- a/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
+++ b/compiler/java/com/google/dart/compiler/type/DynamicTypeImplementation.java
@@ -123,6 +123,11 @@ class DynamicTypeImplementation extends AbstractType implements DynamicType {
public boolean hasRest() {
return false;
}
+
+ @Override
+ public Map<String, Type> getOptionalParameterTypes() {
+ return null;
+ }
@Override
public Map<String, Type> getNamedParameterTypes() {

Powered by Google App Engine
This is Rietveld 408576698