Yield and await in class methods keys #8300
Labels
i: bug
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Spec: Classes
Bug Report
Current Behavior
Babel generates invalid code (yield or await inside a normal function)
Input Code
Expected behavior/code
It should alert
3
Babel Configuration (.babelrc, package.json, cli command)
Environment
Possible Solution
a) Compute the keys before the IIFE
b) Make the iife the correct function type
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
The text was updated successfully, but these errors were encountered: