Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

support comprehensions (no-undef) - fixes #9 #114

Merged
merged 4 commits into from
Jun 3, 2015
Merged

support comprehensions (no-undef) - fixes #9 #114

merged 4 commits into from
Jun 3, 2015

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented May 25, 2015

Fixes #9
Only checking for Identifier: (e of a) and ArrayPattern: for ([,x] of array).

@hzoo
Copy link
Member Author

hzoo commented May 28, 2015

So this PR also triggers the block-scoped-var issue. (It's supposed to fix the no-undef issue). #9 (comment)

export default [for (i of global) String(i)];

I'm probably doing this all wrong haha. @michaelficarra What do you think we can do here?

hzoo added a commit that referenced this pull request Jun 3, 2015
support comprehensions (no-undef) - fixes #9
@hzoo hzoo merged commit 270cfbd into babel:master Jun 3, 2015
nicolo-ribaudo pushed a commit to babel/babel that referenced this pull request Nov 14, 2019
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 this pull request may close these issues.

Variable of array comprehension not defined
1 participant