gorillascript icon indicating copy to clipboard operation
gorillascript copied to clipboard

Generators produce duplicate variable names

Open ckknight opened this issue 11 years ago • 1 comments

When generators are converted to JS, there ends up being both a var _step and a function _step, which breaks some strict-mode engines (e.g. recent versions of Chrome).

ckknight avatar Jul 01 '14 21:07 ckknight

This is fixed in my community repo, since I now have Gorillascript compiling to ES6 generators.

kkirby avatar Apr 08 '15 21:04 kkirby