You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin should check that that it transforming an object before calling defineProperty.
TypeError: Object.defineProperty called on non-object
Example
// I know there is nothing to yield here, but this would normaly be fine without the plugin
function* foo() {
yield 20; // crash: Object.defineProperty called on non-object
}
The text was updated successfully, but these errors were encountered:
Thanks for the report - it's definitely something that we should fix. Not sure though when this will happen, unless you would like to help to implement a fix for this.
Steps to reproduce
yield something that isn't an object.
Description of the bug/issue
The plugin should check that that it transforming an object before calling defineProperty.
TypeError: Object.defineProperty called on non-object
Example
The text was updated successfully, but these errors were encountered: