-
-
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
export default async function () {
return class extends Base {
foo() {
return 1;
}
};
}Expected behavior
Code to be transpiled correctly.
Currently Babel blows up with:
unknown Expression of type "ClassExpression"
Using firefox 35 for targets works. As does firefox 53 and above. Similarly to #12690.
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