Index: dart/lib/compiler/implementation/tree/nodes.dart |
diff --git a/dart/lib/compiler/implementation/tree/nodes.dart b/dart/lib/compiler/implementation/tree/nodes.dart |
index c52b607b36d5c7ba8f3704a09a9c6e0517a42362..3444c1f8e6b046fde5f1c0ae7a1998d0d7792187 100644 |
--- a/dart/lib/compiler/implementation/tree/nodes.dart |
+++ b/dart/lib/compiler/implementation/tree/nodes.dart |
@@ -264,7 +264,7 @@ class Send extends Expression { |
if (argumentsNode !== null) argumentsNode.accept(visitor); |
} |
- int argumentCount() => argumentsNode.length(); |
+ int argumentCount() => (argumentsNode === null) ? -1 : argumentsNode.length(); |
bool get isSuperCall() { |
return receiver !== null && |