-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
area: upstreamoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
Input Code
a ? () => ({}) : b => cBabel Configuration (.babelrc, package.json, cli command)
See the link to the repl
Expected Behavior
The code should compile to
a ? function () {
return {};
} : function (b) {
return c;
};as it does if the react preset is not mentioned
Current Behavior
repl: Unexpected token, expected : (1:23)
> 1 | a ? () => ({}) : b => c
| ^
Your Environment
Getting this in the online repl; the latest release as of 23 mar 2017 is 6.24.0 assuming the repl is using that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: upstreamoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue