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
It currently detects the the VariableDeclarator with centp: v as a constantViolation of the global function v.
But v in G2 should be it's own binding.
Interestingly when the a variable or currentPoint: a is deleted, it logs 0 constantViolations for v
Hey @j4k0xb! We really appreciate you taking the time to report an issue. The collaborators on this project attempt to help as many people as possible, but we're a limited number of volunteers, so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack community that typically always has someone willing to help. You can sign-up here for an invite.
馃捇
How are you using Babel?
Programmatic API (
babel.transform
,babel.parse
)Input code
https://astexplorer.net/#/gist/a160da8edc997fcb75cf56061f0e0b79/72a54c5194bffab642627a4a2ddca828a2209f4f
Configuration file name
No response
Configuration
No response
Current and expected behavior
It currently detects the the VariableDeclarator with
centp: v
as a constantViolation of the global functionv
.But
v
in G2 should be it's own binding.Interestingly when the
a
variable orcurrentPoint: a
is deleted, it logs 0 constantViolations forv
Environment
System:
OS: Linux 6.6 Manjaro Linux
Binaries:
Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
Yarn: 4.1.1 - /usr/bin/yarn
npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
pnpm: 8.14.1 - /usr/bin/pnpm
npmPackages:
@babel/generator: ^7.24.5 => 7.24.5
@babel/parser: ^7.24.5 => 7.24.5
@babel/traverse: ^7.24.5 => 7.24.5
@babel/types: ^7.24.5 => 7.24.5
Possible solution
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: