| Index: lib/compiler/implementation/closure.dart
|
| diff --git a/lib/compiler/implementation/closure.dart b/lib/compiler/implementation/closure.dart
|
| index 6e112535d5ebdfe60eb0478059d7a355c24264dd..be78e41c919c487ddb13ac78de2c959367e3c7be 100644
|
| --- a/lib/compiler/implementation/closure.dart
|
| +++ b/lib/compiler/implementation/closure.dart
|
| @@ -312,9 +312,12 @@ class ClosureTranslator extends Visitor {
|
| // We still need to visit the right-hand sides of the init-assignments.
|
| // For SendSets don't visit the left again. Otherwise it would be marked
|
| // as mutated.
|
| - if (definition is SendSet) {
|
| - SendSet assignment = definition;
|
| - visit(assignment.argumentsNode);
|
| + if (definition is Send) {
|
| + Send assignment = definition;
|
| + Node arguments = assignment.argumentsNode;
|
| + if (arguments != null) {
|
| + visit(arguments);
|
| + }
|
| } else {
|
| visit(definition);
|
| }
|
|
|