René's URL Explorer Experiment


Title: getSpecifierForModuleSymbol failing in 5.5 rc · Issue #58819 · microsoft/TypeScript · GitHub

Open Graph Title: getSpecifierForModuleSymbol failing in 5.5 rc · Issue #58819 · microsoft/TypeScript

X Title: getSpecifierForModuleSymbol failing in 5.5 rc · Issue #58819 · microsoft/TypeScript

Description: 🔎 Search Terms getSpecifierForModuleSymbol, Debug Failure, False expression, 🕗 Version & Regression Information This is a crash This changed between versions 5.5 beta and 5.5 rc ⏯ Playground Link https://github.com/Agoric/agoric-sdk/acti...

Open Graph Description: 🔎 Search Terms getSpecifierForModuleSymbol, Debug Failure, False expression, 🕗 Version & Regression Information This is a crash This changed between versions 5.5 beta and 5.5 rc ⏯ Playground Link h...

X Description: 🔎 Search Terms getSpecifierForModuleSymbol, Debug Failure, False expression, 🕗 Version & Regression Information This is a crash This changed between versions 5.5 beta and 5.5 rc ⏯ Playground Li...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/58819

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"getSpecifierForModuleSymbol failing in 5.5 rc","articleBody":"### 🔎 Search Terms\n\ngetSpecifierForModuleSymbol, Debug Failure, False expression,\r\n\n\n### 🕗 Version \u0026 Regression Information\n\n- This is a crash\r\n- This changed between versions 5.5 beta and 5.5 rc\r\n\r\n\n\n### ⏯ Playground Link\n\nhttps://github.com/Agoric/agoric-sdk/actions/runs/9440222557/job/25999288161?pr=9476\n\n### 💻 Code\n\nMy only repro is half-way through the build of a large repo, so I don't think I can isolate it to a code snippet. \r\n\r\nhttps://github.com/Agoric/agoric-sdk/pull/9476 changed the `typescript` from,\r\n\r\n```diff\r\n- typescript@^5.5.0-beta\r\n-   version \"5.5.0-dev.20240426\"\r\n-  resolved \"https://registry.yarnpkg.com/typescript/-/typescript-5.5.0-dev.20240426.tgz#e9ba7d0b3cdaa54021faca61d1bc399e4766c93b\"\r\n-  integrity sha512-96cu+y3DrjSNhNSgB3t3nRiesCwBVjZpbjJ6DcQoCgt0crXXPrOMmJQH/E8TZ41U4JzaULD+cB1Z2owh5HANew==\r\n+ typescript@^5.5.1-rc:\r\n+   version \"5.5.1-rc\"\r\n+   resolved \"https://registry.yarnpkg.com/typescript/-/typescript-5.5.1-rc.tgz#4be420f1ecb5e66c52a7cb11444f06f02294c977\"\r\n+   integrity sha512-7cbqBhh2QH0RaI7AD0ElJ2Ww/iRdW1w2wH/S2dv6EbdNQQlv39fx+V5VOepxLgfUvRkU5D5pxzgPuvHSAQOdpQ==\r\n```\r\n\r\n[A CI job builds each package topologically](https://github.com/Agoric/agoric-sdk/blob/e7b0cebd17f093793e93f4f236921cb4a3f595b8/.github/workflows/test-all-packages.yml#L74-L77).\r\n\r\n\n\n### 🙁 Actual behavior\n\nThe job started failing with:\r\n```\r\nError: Debug Failure. False expression.\r\n    at first (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:605:9)\r\n    at getSpecifierForModuleSymbol (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:50904:21)\r\n    at rewriteModuleSpecifier (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:51977:22)\r\n    at visitExistingNodeTreeSymbolsWorker (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:51827:58)\r\n    at visitExistingNodeTreeSymbols (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:51535:24)\r\n    at visitArrayWorker (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:87695:49)\r\n    at visitNodes2 (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:87666:19)\r\n    at tryVisitTypeReference (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:51672:33)\r\n    at visitExistingNodeTreeSymbolsWorker (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:51811:26)\r\n    at visitExistingNodeTreeSymbols (/home/runner/work/agoric-sdk/agoric-sdk/node_modules/typescript/lib/tsc.js:51535:24)\r\n```\r\n\r\nIn the debugger I see that it happens while looking for `escapedName: 'globalThis'` in the context of [this file](https://github.com/Agoric/agoric-sdk/blob/master/packages/inter-protocol/src/psm/psm.js).\n\n### 🙂 Expected behavior\n\nContinues to build like the beta and past releases.\n\n### Additional information about the issue\n\nOur repo makes use of [a hack](https://stackoverflow.com/a/66588974) to make types available both ambiently and by explicit imports.\r\nhttps://github.com/Agoric/agoric-sdk/blob/e7b0cebd17f093793e93f4f236921cb4a3f595b8/packages/internal/exported.d.ts#L17-L29\r\n\r\nThe motivation for this is in transitioning from ambient types to define exportable types and retain backwards compatibility with consumers expecting ambients.","author":{"url":"https://github.com/turadg","@type":"Person","name":"turadg"},"datePublished":"2024-06-10T13:50:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/58819/TypeScript/issues/58819"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:dd8b8f07-748b-f57e-642f-eb0ea7944df6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBE16:113C1C:55AD61:7B037B:6A61EBBE
html-safe-nonce5b6a9601e81a822157691846424d5a5392989fa00cec70597b6eefa75e5d410a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTE2OjExM0MxQzo1NUFENjE6N0IwMzdCOjZBNjFFQkJFIiwidmlzaXRvcl9pZCI6IjI0Njk2NzQ4OTA2OTE3MzQ0NjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac253515dc28a958035534466cbbcd5d46b6e44e67fc4ba789411f9c1f5621731b
hovercard-subject-tagissue:2343983551
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/58819/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bb3170878b118e70b0b3feb4151e9cfc00ff9b5f94e15f136f5b041506fe938b/microsoft/TypeScript/issues/58819
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bb3170878b118e70b0b3feb4151e9cfc00ff9b5f94e15f136f5b041506fe938b/microsoft/TypeScript/issues/58819
og:image:alt🔎 Search Terms getSpecifierForModuleSymbol, Debug Failure, False expression, 🕗 Version & Regression Information This is a crash This changed between versions 5.5 beta and 5.5 rc ⏯ Playground Link h...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameturadg
hostnamegithub.com
expected-hostnamegithub.com
None5dd1217fff37e297563b9d318ee02bf6378c8957c6195b77786bb8896fc9c95d
turbo-cache-controlno-preview
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
release554667f6dda2a53c83687de64fabc457970f0f04
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/58819#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F58819
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F58819
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/58819
Reloadhttps://github.com/microsoft/TypeScript/issues/58819
Reloadhttps://github.com/microsoft/TypeScript/issues/58819
Please reload this pagehttps://github.com/microsoft/TypeScript/issues/58819
microsoft https://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Notifications https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Fork 13.6k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Star 110k https://github.com/login?return_to=%2Fmicrosoft%2FTypeScript
Code https://github.com/microsoft/TypeScript
Issues 5k+ https://github.com/microsoft/TypeScript/issues
Pull requests 21 https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality 0 https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
Code https://github.com/microsoft/TypeScript
Issues https://github.com/microsoft/TypeScript/issues
Pull requests https://github.com/microsoft/TypeScript/pulls
Actions https://github.com/microsoft/TypeScript/actions
Projects https://github.com/microsoft/TypeScript/projects
Models https://github.com/microsoft/TypeScript/models
Wiki https://github.com/microsoft/TypeScript/wiki
Security and quality https://github.com/microsoft/TypeScript/security
Insights https://github.com/microsoft/TypeScript/pulse
#58872https://github.com/microsoft/TypeScript/pull/58872
getSpecifierForModuleSymbol failing in 5.5 rchttps://github.com/microsoft/TypeScript/issues/58819#top
#58872https://github.com/microsoft/TypeScript/pull/58872
https://github.com/andrewbranch
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 5.5.2https://github.com/microsoft/TypeScript/milestone/203
https://github.com/turadg
turadghttps://github.com/turadg
on Jun 10, 2024https://github.com/microsoft/TypeScript/issues/58819#issue-2343983551
https://github.com/Agoric/agoric-sdk/actions/runs/9440222557/job/25999288161?pr=9476https://github.com/Agoric/agoric-sdk/actions/runs/9440222557/job/25999288161?pr=9476
Agoric/agoric-sdk#9476https://github.com/Agoric/agoric-sdk/pull/9476
A CI job builds each package topologicallyhttps://github.com/Agoric/agoric-sdk/blob/e7b0cebd17f093793e93f4f236921cb4a3f595b8/.github/workflows/test-all-packages.yml#L74-L77
this filehttps://github.com/Agoric/agoric-sdk/blob/master/packages/inter-protocol/src/psm/psm.js
a hackhttps://stackoverflow.com/a/66588974
https://github.com/Agoric/agoric-sdk/blob/e7b0cebd17f093793e93f4f236921cb4a3f595b8/packages/internal/exported.d.ts#L17-L29https://github.com/Agoric/agoric-sdk/blob/e7b0cebd17f093793e93f4f236921cb4a3f595b8/packages/internal/exported.d.ts#L17-L29
andrewbranchhttps://github.com/andrewbranch
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
TypeScript 5.5.2https://github.com/microsoft/TypeScript/milestone/203
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.