overlookmotel 792672ec60
Fix scope of computed method keys (#12812)
* Fix scope of computed method keys

* Test for nested computed keys

* Fix scope.rename with computed method keys

* Optional chaining tests
2021-02-19 02:36:34 +01:00

10 lines
137 B
JavaScript

module.exports = function() {
return {
visitor: {
Program(path) {
path.scope.rename("a", "z");
}
}
};
};