Uh oh!
There was an error while loading. Please reload this page.
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Mateusz Burzyński (Andarist)
commented
Jul 15, 2023
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
c8dfa70CompareJake Bailey (jakebailey)
commented
Jul 18, 2023
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. |
Oleksandr Tarasiuk (a-tarasyuk)
commented
Jul 18, 2023
Jake Bailey (@jakebailey) I've closed it in favor of Mateusz Burzyński (@Andarist)'s PR. |
Jake Bailey (jakebailey)
commented
Jul 18, 2023
Which PR is that? #55018 is for a different bug, and I'm not seeing any other enum PRs... |
Oleksandr Tarasiuk (a-tarasyuk)
commented
Jul 18, 2023
I believe Mateusz Burzyński (@Andarist) will create a new PR soon. |
Mateusz Burzyński (Andarist)
commented
Jul 18, 2023
here it is: #55065 |
TypeScript Bot (typescript-bot)
commented
Oct 22, 2025
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.