| Index: compiler/java/com/google/dart/compiler/ast/DartInvocation.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/ast/DartInvocation.java (revision 14360)
|
| +++ compiler/java/com/google/dart/compiler/ast/DartInvocation.java (working copy)
|
| @@ -39,7 +39,9 @@
|
| private NodeElement element;
|
|
|
| public DartInvocation(List<DartExpression> arguments) {
|
| - this.arguments.addAll(arguments);
|
| + if (arguments != null && !arguments.isEmpty()) {
|
| + this.arguments.addAll(arguments);
|
| + }
|
| }
|
|
|
| public DartExpression getTarget() {
|
|
|