-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Labels
claimedoutdatedA 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
Demo
https://runkit.com/embed/wx1vpm3rag2x
Input Code
a = 2;
let a = 4;Babel/Babylon Configuration (.babelrc, package.json, cli command)
{
plugins: [
[require("@babel/plugin-transform-block-scoping"), { tdz: true }]
]
}Current behavior
TypeError: _this.addHelper is not a function
at Object.addHelper in @babel/plugin-transform-block-scoping/lib/index.js — line 564
at buildTDZAssert in @babel/plugin-transform-block-scoping/lib/tdz.js — line 21
at Object.exit in @babel/plugin-transform-block-scoping/lib/tdz.js — line 71
...
Your Environment
| software | version(s) |
|---|---|
| Babel | 7.0.0-beta.32 |
| Babylon | |
| node | |
| npm | |
| Operating System |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
claimedoutdatedA 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