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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/VariableElement.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/VariableElement.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/VariableElement.java b/compiler/java/com/google/dart/compiler/resolver/VariableElement.java
index eef090345a4fd104b81bd9394069974fd79aa9fc..7a2b5899c44ad798bb1d1ceeb02deec78530f4ef 100644
--- a/compiler/java/com/google/dart/compiler/resolver/VariableElement.java
+++ b/compiler/java/com/google/dart/compiler/resolver/VariableElement.java
@@ -9,6 +9,7 @@ import com.google.dart.compiler.ast.DartExpression;
public interface VariableElement extends Element {
FieldElement getParameterInitializerElement();
+ boolean isOptional();
boolean isNamed();
DartExpression getDefaultValue();

Powered by Google App Engine
This is Rietveld 408576698