René's URL Explorer Experiment


Title: Don't emit enum members as evaluated `Infinity`/`NaN` when their symbols are shadowed by Andarist · Pull Request #55107 · microsoft/TypeScript · GitHub

Open Graph Title: Don't emit enum members as evaluated `Infinity`/`NaN` when their symbols are shadowed by Andarist · Pull Request #55107 · microsoft/TypeScript

X Title: Don't emit enum members as evaluated `Infinity`/`NaN` when their symbols are shadowed by Andarist · Pull Request #55107 · microsoft/TypeScript

Description: TypeScript is a superset of JavaScript that compiles to clean JavaScript output. - Don't emit enum members as evaluated `Infinity`/`NaN` when their symbols are shadowed by Andarist · Pull Request #55107 · microsoft/TypeScript

Open Graph Description: fixes #55091

X Description: fixes #55091

Opengraph URL: https://github.com/microsoft/TypeScript/pull/55107

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:cbdfd2a6-5d0c-d5fe-8f93-b2173ae2e63b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id944C:27D3AD:135CC73:1894A8F:6B0122FE
html-safe-noncedff2a99cb6982fb1b4d1ac79d8135d634f58f56d71cee950702647b175b3c4f6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDRDOjI3RDNBRDoxMzVDQzczOjE4OTRBOEY6NkIwMTIyRkUiLCJ2aXNpdG9yX2lkIjoiNjk3OTY0NjYwMDI3MjQ4NzE2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacea0bea20b301df5e6e4d09320af3912f0bc3c5d456d69df78379a41f5187925b
hovercard-subject-tagpull_request:1445225917
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/microsoft/TypeScript/55107/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5e372830a6a728fa4ff39cdd771d0bb1bfdab656c221e7ba0283fbf836f058cb/microsoft/TypeScript/pull/55107
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5e372830a6a728fa4ff39cdd771d0bb1bfdab656c221e7ba0283fbf836f058cb/microsoft/TypeScript/pull/55107
og:image:altfixes #55091
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAndarist
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/pull/55107#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F55107
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F55107
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/pull/55107
Reloadhttps://github.com/microsoft/TypeScript/pull/55107
Reloadhttps://github.com/microsoft/TypeScript/pull/55107
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests310 (310)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
Mateusz Burzyński (Andarist)https://github.com/Andarist
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/shadowed-evaluated-infinity-nanhttps://github.com/Andarist/TypeScript/tree/fix/shadowed-evaluated-infinity-nan
Conversationhttps://github.com/microsoft/TypeScript/pull/55107
Commits4 (4)https://github.com/microsoft/TypeScript/pull/55107/commits
Checkshttps://github.com/microsoft/TypeScript/pull/55107/checks
Files changedhttps://github.com/microsoft/TypeScript/pull/55107/files
Don't emit enum members as evaluated Infinity/NaN when their symbols are shadowedhttps://github.com/microsoft/TypeScript/pull/55107#top
Mateusz Burzyński (Andarist)https://github.com/Andarist
microsoft:mainhttps://github.com/microsoft/TypeScript/tree/main
Andarist:fix/shadowed-evaluated-infinity-nanhttps://github.com/Andarist/TypeScript/tree/fix/shadowed-evaluated-infinity-nan
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 22, 2023https://github.com/microsoft/TypeScript/pull/55107#issue-1816643408
#55091https://github.com/microsoft/TypeScript/issues/55091
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/Andarist
Don't emit enum members as evaluated Infinity/NaN when their valu…https://github.com/microsoft/TypeScript/pull/55107/commits/1156707e843b1b7e045818f75e31e9e219827247
1156707https://github.com/microsoft/TypeScript/pull/55107/commits/1156707e843b1b7e045818f75e31e9e219827247
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Jul 22, 2023https://github.com/microsoft/TypeScript/pull/55107#event-9890601255
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 22, 2023 https://github.com/microsoft/TypeScript/pull/55107#pullrequestreview-1542056400
View reviewed changes https://github.com/microsoft/TypeScript/pull/55107/files/1156707e843b1b7e045818f75e31e9e219827247
src/compiler/transformers/ts.tshttps://github.com/microsoft/TypeScript/pull/55107/files/1156707e843b1b7e045818f75e31e9e219827247#diff-434a48997b788187774ea0573dd60688d07638fc89e809acf9bb3f455c816027
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 22, 2023https://github.com/microsoft/TypeScript/pull/55107#discussion_r1271255591
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/Andarist
avoid redundant parenshttps://github.com/microsoft/TypeScript/pull/55107/commits/ed2cc5717d0f956d90592af943141449b4b6f05d
ed2cc57https://github.com/microsoft/TypeScript/pull/55107/commits/ed2cc5717d0f956d90592af943141449b4b6f05d
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 22, 2023https://github.com/microsoft/TypeScript/pull/55107#event-9890665821
https://github.com/Andarist
Fixed -Infinity casehttps://github.com/microsoft/TypeScript/pull/55107/commits/24cd553036cb5ec66673cf2b75a066362898b293
24cd553https://github.com/microsoft/TypeScript/pull/55107/commits/24cd553036cb5ec66673cf2b75a066362898b293
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
force-pushedhttps://github.com/microsoft/TypeScript/compare/31c3e64372802388e8b5b88a6885e8efce37c7c6..24cd553036cb5ec66673cf2b75a066362898b293
31c3e64https://github.com/microsoft/TypeScript/commit/31c3e64372802388e8b5b88a6885e8efce37c7c6
24cd553https://github.com/microsoft/TypeScript/commit/24cd553036cb5ec66673cf2b75a066362898b293
Compare https://github.com/microsoft/TypeScript/compare/31c3e64372802388e8b5b88a6885e8efce37c7c6..24cd553036cb5ec66673cf2b75a066362898b293
July 22, 2023 08:54https://github.com/microsoft/TypeScript/pull/55107#event-9890790214
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
Jul 22, 2023https://github.com/microsoft/TypeScript/pull/55107#issuecomment-1646657354
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 22, 2023https://github.com/microsoft/TypeScript/pull/55107#issuecomment-1646680080
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jul 28, 2023 https://github.com/microsoft/TypeScript/pull/55107#pullrequestreview-1551038961
View reviewed changes https://github.com/microsoft/TypeScript/pull/55107/files/24cd553036cb5ec66673cf2b75a066362898b293
src/compiler/transformers/ts.tshttps://github.com/microsoft/TypeScript/pull/55107/files/24cd553036cb5ec66673cf2b75a066362898b293#diff-434a48997b788187774ea0573dd60688d07638fc89e809acf9bb3f455c816027
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jul 28, 2023https://github.com/microsoft/TypeScript/pull/55107#discussion_r1276954387
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Jul 28, 2023https://github.com/microsoft/TypeScript/pull/55107#discussion_r1276954599
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
Mateusz Burzyński (Andarist)https://github.com/Andarist
Jul 28, 2023https://github.com/microsoft/TypeScript/pull/55107#discussion_r1277153014
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
ed2cc57https://github.com/microsoft/TypeScript/commit/ed2cc5717d0f956d90592af943141449b4b6f05d
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
August 4, 2023 08:50https://github.com/microsoft/TypeScript/pull/55107#event-10007030631
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Aug 11, 2023 https://github.com/microsoft/TypeScript/pull/55107#pullrequestreview-1574449574
View reviewed changes https://github.com/microsoft/TypeScript/pull/55107/files/24cd553036cb5ec66673cf2b75a066362898b293
tests/baselines/reference/enumShadowedInfinityNaN2.jshttps://github.com/microsoft/TypeScript/pull/55107/files/24cd553036cb5ec66673cf2b75a066362898b293#diff-05a85dfc2f97cafe3f8aaf50be074cef0956753212562f01247a43b6048b5378
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Aug 11, 2023https://github.com/microsoft/TypeScript/pull/55107#discussion_r1291828645
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
Mateusz Burzyński (Andarist)https://github.com/Andarist
Aug 12, 2023https://github.com/microsoft/TypeScript/pull/55107#discussion_r1292118424
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#55018https://github.com/microsoft/TypeScript/pull/55018
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Ron Buckton (rbuckton)https://github.com/rbuckton
August 11, 2023 22:28https://github.com/microsoft/TypeScript/pull/55107#event-10074203364
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
Ron Buckton (rbuckton)https://github.com/rbuckton
Aug 11, 2023https://github.com/microsoft/TypeScript/pull/55107#event-10074204073
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
force-pushedhttps://github.com/microsoft/TypeScript/compare/c8001bd8e25bf718847653463cb5de7b598a6118..dc59819e3d93ada72256e9673ba06d38b05fc8cd
c8001bdhttps://github.com/microsoft/TypeScript/commit/c8001bd8e25bf718847653463cb5de7b598a6118
dc59819https://github.com/microsoft/TypeScript/commit/dc59819e3d93ada72256e9673ba06d38b05fc8cd
Compare https://github.com/microsoft/TypeScript/compare/c8001bd8e25bf718847653463cb5de7b598a6118..dc59819e3d93ada72256e9673ba06d38b05fc8cd
August 17, 2023 07:52https://github.com/microsoft/TypeScript/pull/55107#event-10116110198
https://github.com/Andarist
Merge remote-tracking branch 'origin/main' into fix/shadowed-evaluate…https://github.com/microsoft/TypeScript/pull/55107/commits/0bcbc62db3806f94c18914bf017e5dccece46304
0bcbc62https://github.com/microsoft/TypeScript/pull/55107/commits/0bcbc62db3806f94c18914bf017e5dccece46304
https://github.com/Andarist
Mateusz Burzyński (Andarist)https://github.com/Andarist
force-pushedhttps://github.com/microsoft/TypeScript/compare/dc59819e3d93ada72256e9673ba06d38b05fc8cd..0bcbc62db3806f94c18914bf017e5dccece46304
dc59819https://github.com/microsoft/TypeScript/commit/dc59819e3d93ada72256e9673ba06d38b05fc8cd
0bcbc62https://github.com/microsoft/TypeScript/commit/0bcbc62db3806f94c18914bf017e5dccece46304
Compare https://github.com/microsoft/TypeScript/compare/dc59819e3d93ada72256e9673ba06d38b05fc8cd..0bcbc62db3806f94c18914bf017e5dccece46304
August 17, 2023 07:56https://github.com/microsoft/TypeScript/pull/55107#event-10116147661
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
For Backlog Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Backlog%20Bug%22
Dec 12, 2025https://github.com/microsoft/TypeScript/pull/55107#event-21537330850
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/55107#event-23867711632
https://github.com/typescript-bot
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/55107#issuecomment-4121428859
6.0 outhttps://devblogs.microsoft.com/typescript/announcing-typescript-6-0/
final release vehicle for this codebasehttps://redirect.github.com/microsoft/TypeScript/issues/62963
post-6.0 patch criteriahttps://redirect.github.com/microsoft/TypeScript/issues/62963#issuecomment-4100336368
6.0 iteration issuehttps://redirect.github.com/microsoft/TypeScript/issues/63085
typescript-go repohttps://redirect.github.com/microsoft/TypeScript-go
DOM Generator repohttps://redirect.github.com/microsoft/TypeScript-DOM-lib-generator
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
PR Backloghttps://github.com/orgs/microsoft/projects/1252
Mar 24, 2026https://github.com/microsoft/TypeScript/pull/55107#event-23867713212
https://github.co/hiddenchars
https://github.com/microsoft/TypeScript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fpull%2F55107
https://github.com/sandersn
Nathan Shively-Sanders (sandersn) https://github.com/sandersn
https://github.com/microsoft/TypeScript/pull/55107/files/24cd553036cb5ec66673cf2b75a066362898b293
https://github.com/DanielRosenwasser
Daniel Rosenwasser (DanielRosenwasser) https://github.com/DanielRosenwasser
https://github.com/rbuckton
Ron Buckton (rbuckton) https://github.com/rbuckton
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/rbuckton
Ron Buckton (rbuckton) https://github.com/rbuckton
For Milestone Bug https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22For%20Milestone%20Bug%22
PR Backlog https://github.com/orgs/microsoft/projects/1252
Enum value 1 / 0 incorrectly transformed if there is Infinity declared in scope https://github.com/microsoft/TypeScript/issues/55091
Please reload this pagehttps://github.com/microsoft/TypeScript/pull/55107
https://github.com/Andarist
https://github.com/fatcerberus
https://github.com/typescript-bot
https://github.com/sandersn
https://github.com/DanielRosenwasser
https://github.com/rbuckton
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.