-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Labels
Description
Current Behavior
An error is thrown when templates containing private fields are parsed.
Input Code
module.exports = function ({ template }) {
const set_private = template`this.#IDENT = VALUE`;
};Expected behavior/code
I would expect to be able to correctly parse and use templates containing private fields.
Environment (fairly certain none of this matters except Babel version)
- Babel version: 7.4.4
- Node/npm version: Node 12
- OS: Ubuntu 19.04
- Monorepo: no
- How you are using Babel: CLI