Reproduction:
This bug was found in https://github.com/oxc-project/monitor-oxc/actions/runs/10482911458/job/29034791059
Minimal reproduction
oxc playground
TOP: {
L: console.log(1);
L: console.log(2);
};
The above code reports the following errors in the playground
❗ Identifier `L` has already been declared
❗ Identifier `L` has already been declared
Expected result
There are no semantic errors. I've run the code in Chrome devtools and that works well