Incorrect warning issued when call/apply used outside parens #101

goatslacker opened this Issue Feb 13, 2012 · 1 comment

2 participants

(function (that) {
    // that

Will give me a bad_wrap warning when it should give me a move_invocation warning instead.

Patch can be found here:

@douglascrockford douglascrockford added a commit that referenced this issue Feb 13, 2012
@douglascrockford #101 cf8611c

Thanks. It now gives the correct warning: Unexpected '.'.

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