This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 209
"Unexpected Token" for async arrow IIFE #245
Comments
spalger
changed the title
"Unexpected Token" for async IIFE
"Unexpected Token" for async arrow IIFE
Feb 1, 2016
This only occurs on arrow functions. |
spalger
added a commit
to spalger/kibana
that referenced
this issue
Feb 1, 2016
elasticsearch-bot
pushed a commit
to elastic/kibana
that referenced
this issue
Feb 1, 2016
elasticsearch-bot
pushed a commit
to elastic/kibana
that referenced
this issue
Feb 1, 2016
elasticsearch-bot
pushed a commit
to elastic/kibana
that referenced
this issue
Feb 1, 2016
I don't think that input is valid. () => {}(); It has to be (() => {})(); There was a bug in Babel 5.x that allowed the former, but apparently it doesn't extend to async arrows. |
hmm, interesting |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using eslint
4.1.7
I am getting a syntax error with this code:The text was updated successfully, but these errors were encountered: