Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Parser issue with anonymous functions #36

thorsent opened this Issue Feb 8, 2013 · 0 comments


None yet
1 participant

thorsent commented Feb 8, 2013

I'm getting a parser error with this code:

function a(){
return function(){
for(j=0;j<3;j++) {
b("test", defer());

The parsing error goes away if the function isn't anonymous. Also goes away if I eliminate the for loop. Strange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment