fix(54992): Negative constant enums return number when toString is called#55031
fix(54992): Negative constant enums return number when toString is called#55031a-tarasyuk wants to merge 1 commit intomicrosoft:mainfrom
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? |
|
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. |
|
@jakebailey I've closed it in favor of @Andarist's PR. |
|
Which PR is that? #55018 is for a different bug, and I'm not seeing any other enum PRs... |
|
I believe @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.