fix(54992): Negative constant enums return number when toString is called - #55031
fix(54992): Negative constant enums return number when toString is called#55031Oleksandr Tarasiuk (a-tarasyuk) wants to merge 1 commit into
Conversation
|
Adding parenthesis could create other problems - but I guess that's not really possible since the emitter prefers semicolons. Is that right? Or am I missing some edge cases in which an accidental function call could be created? |
2950c05 to
c8dfa70
Compare
|
What happened to this PR? Was it totally wrong in some way? FWIW, here's what esbuild does; thankfully doesn't have this problem, but my recollection of this PR before it was force pushed to empty was that this PR matched. |
|
Jake Bailey (@jakebailey) I've closed it in favor of Mateusz Burzyński (@Andarist)'s PR. |
|
Which PR is that? #55018 is for a different bug, and I'm not seeing any other enum PRs... |
|
I believe Mateusz Burzyński (@Andarist) will create a new PR soon. |
|
here it is: #55065 |
|
This PR doesn't have any linked issues. Please open an issue that references this PR. From there we can discuss and prioritise. |
No description provided.