mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
This commit is contained in:
parent
ab52fd75c2
commit
35eb58fae8
3 changed files with 12 additions and 2 deletions
|
@ -3284,9 +3284,11 @@
|
|||
}
|
||||
if (obj instanceof Assign) {
|
||||
if (obj.value instanceof Assign) {
|
||||
obj = obj.value.variable;
|
||||
} else {
|
||||
obj = obj.value;
|
||||
}
|
||||
this.eachName(iterator, obj.value.unwrap());
|
||||
this.eachName(iterator, obj.unwrap());
|
||||
} else if (obj instanceof Splat) {
|
||||
node = obj.name.unwrap();
|
||||
iterator(node.value, node, this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue