semicolon ending block evaluation #627

Closed
smrg-lm opened this Issue Oct 24, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Contributor

smrg-lm commented Oct 24, 2012

This example code does not interpret the block but a line

(
var block;
1 + 1;
);

Contributor

smrg-lm commented Oct 24, 2012

Tim has commented the following:

"iirc, the idea is that if he closing ) is followed by a ;, the
heuristics assumes, that it is a function call argument ...

too bad that () is really ambiguous and depends on the context ... but
i agree, that this behavior is rather awkward ... jakob, thoughts?

cheers, tim"

Owner

jleben commented Apr 1, 2013

Fixed.

jleben closed this Apr 1, 2013

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