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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.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/resolver/DynamicElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
index 5d7ad507266ac048c87e5cae61edacd56d28a587..48bb39e979aa69bf1c4e3b2373c279649f1657b0 100644
--- a/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java
@@ -260,6 +260,11 @@ class DynamicElementImplementation extends AbstractNodeElement implements Dynami
}
@Override
+ public boolean isOptional() {
+ return false;
+ }
+
+ @Override
public boolean isNamed() {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698