Chromium Code Reviews| Index: compiler/java/com/google/dart/compiler/ast/DartInvocation.java |
| diff --git a/compiler/java/com/google/dart/compiler/ast/DartInvocation.java b/compiler/java/com/google/dart/compiler/ast/DartInvocation.java |
| index 213ae92130daf9b64bb07bc81ab868ba9bf67f28..ecc352159e53cb3a0b01f555d5046084641c67c8 100644 |
| --- a/compiler/java/com/google/dart/compiler/ast/DartInvocation.java |
| +++ b/compiler/java/com/google/dart/compiler/ast/DartInvocation.java |
| @@ -34,11 +34,11 @@ import java.util.List; |
| */ |
| public abstract class DartInvocation extends DartExpression implements ElementReference { |
| - private List<DartExpression> args; |
| + private final NodeList<DartExpression> args = NodeList.create(this); |
|
Brian Wilkerson
2012/03/06 16:39:45
Let's rename this to "arguments" (in a later CL is
scheglov
2012/03/06 17:11:46
Done.
|
| private Element referencedElement; |
| public DartInvocation(List<DartExpression> args) { |
| - this.args = becomeParentOf(args); |
| + this.args.addAll(args); |
| } |
| public DartExpression getTarget() { |