Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

Crash in destructuring assignment with splats #4

Closed
bazineta opened this issue Feb 26, 2015 · 3 comments · Fixed by #5
Closed

Crash in destructuring assignment with splats #4

bazineta opened this issue Feb 26, 2015 · 3 comments · Fixed by #5

Comments

@bazineta
Copy link

I'm seeing a crash here:

https://github.com/pwlmaciejewski/coffeelint-variable-scope/blob/master/index.js#L113

When parsing statements of the format:

[foo, bar...] = baz.split ' '

The issue is with 'bar'; in such cases, v.base is undefined.

@pwlmc
Copy link
Owner

pwlmc commented Mar 3, 2015

@bazineta Thanks! Could you check if changes on dev branch fix the problem for you?

@bazineta
Copy link
Author

bazineta commented Mar 4, 2015

Resolves the issue, thanks!

@pwlmc pwlmc closed this as completed in #5 Mar 5, 2015
pwlmc added a commit that referenced this issue Mar 5, 2015
Fix destructuring assignment with splats #4
@bchociej
Copy link

I think my issue #11 (which is in apparent dupe of this) is happening because the index.js file is not compiled from the latest index.coffee, at least in npm version 0.0.3. Try npm installing 0.0.3 and see what I mean.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants