-
-
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
Bug Report
Current behavior
import Component from '@glimmer/component';
import intersection from 'lodash/intersection';
export default class FooComponent extends Component {
async foo() {
intersection(...(await Promise.all([])));
}
}Expected behavior
Code to be transpiled correctly.
Currently Babel blows up with:
Expected type "Expression" with option undefined, but instead got "SpreadElement".
Using firefox 35 for targets works. As does firefox 53 and above.
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