oxc
oxc copied to clipboard
incorrect symbol when a function is assigned to a variable
apologies if this is a duplicate
given the following input:
const test = function hello(arg0) {
}
hello()
the second hello
should be an unresolved reference.
currently it's resolved to the function above
playground
https://oxc-project.github.io/oxc/playground/?code=3YCAAICugICAgICAgICxG0qZRraXVswnifU1q2%2Fm%2BJLccV2rnStJM1nSHXd7kNzN6i4LIHQr9wC%2BGhx%2FfzfAgIA%3D
the symbol highlighted on the RHS should not be there