René's URL Explorer Experiment


Title: Type inference: Reduce code duplication by hvitved · Pull Request #23072 · github/codeql · GitHub

Open Graph Title: Type inference: Reduce code duplication by hvitved · Pull Request #23072 · github/codeql

X Title: Type inference: Reduce code duplication by hvitved · Pull Request #23072 · github/codeql

Description: This PR reduces code duplication by merging AccessBaseType and AccessConstraint logic into a single ConstraintMatching module, as originally suggested by @paldepind here. DCA us uneventful for both Rust and Unified, except there appears to be a small performance improvement for Rust.

Open Graph Description: This PR reduces code duplication by merging AccessBaseType and AccessConstraint logic into a single ConstraintMatching module, as originally suggested by @paldepind here. DCA us uneventful for both...

X Description: This PR reduces code duplication by merging AccessBaseType and AccessConstraint logic into a single ConstraintMatching module, as originally suggested by @paldepind here. DCA us uneventful for both...

Opengraph URL: https://github.com/github/codeql/pull/23072

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e9a736a5-7863-0196-d7cf-6c93fbcda847
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBC40:8AB5F:26BCE4:35E613:6AF89115
html-safe-nonceb3815e6b14782fdd4abdfd922af91ab14d031c970ccf47ac40cacb8b37c552d6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzQwOjhBQjVGOjI2QkNFNDozNUU2MTM6NkFGODkxMTUiLCJ2aXNpdG9yX2lkIjoiNzI1MTcxMzYwNTczOTUxNjE4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac06fa0221a3b4a2bab89b17c01ba43e31d22aebeae3afde7b66e8744f4508c74d
hovercard-subject-tagpull_request:5240846142
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql/pull/23072/files
twitter:imagehttps://avatars.githubusercontent.com/u/3667920?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3667920?s=400&v=4
og:image:altThis PR reduces code duplication by merging AccessBaseType and AccessConstraint logic into a single ConstraintMatching module, as originally suggested by @paldepind here. DCA us uneventful for both...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql git https://github.com/github/codeql.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id143040428
octolytics-dimension-repository_nwogithub/codeql
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id143040428
octolytics-dimension-repository_network_root_nwogithub/codeql
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql/pull/23072/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql%2Fpull%2F23072%2Ffiles
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%2Fgithub%2Fcodeql%2Fpull%2F23072%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql
Reloadhttps://github.com/github/codeql/pull/23072/files
Reloadhttps://github.com/github/codeql/pull/23072/files
Reloadhttps://github.com/github/codeql/pull/23072/files
githubhttps://github.com/github
codeqlhttps://github.com/github/codeql
Codehttps://github.com/github/codeql
Issues1k (1k)https://github.com/github/codeql/issues
Pull requests516 (516)https://github.com/github/codeql/pulls
Discussionshttps://github.com/github/codeql/discussions
Actionshttps://github.com/github/codeql/actions
Projectshttps://github.com/github/codeql/projects
Security and qualityhttps://github.com/github/codeql/security
Insightshttps://github.com/github/codeql/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql%2Fissues%2Fnew%2Fchoose
hvitvedhttps://github.com/hvitved
github:mainhttps://github.com/github/codeql/tree/main
hvitved:type-inference-sharehttps://github.com/hvitved/codeql/tree/type-inference-share
Conversation 4 https://github.com/github/codeql/pull/23072
Commits 3 https://github.com/github/codeql/pull/23072/commits
Checks 19 https://github.com/github/codeql/pull/23072/checks
Findings https://github.com/github/codeql/pull/23072/findings
Files changed https://github.com/github/codeql/pull/23072/files
Please reload this pagehttps://github.com/github/codeql/pull/23072/files
Type inference: Reduce code duplication https://github.com/github/codeql/pull/23072/files#top
Show all changes 3 commits https://github.com/github/codeql/pull/23072/files
e7825e3 Rust: More type inference tests hvitved Nov 11, 2026 https://github.com/github/codeql/pull/23072/commits/e7825e360d8bc993ff48ae012524376d35ea7151
1c4fea9 Type inference: Reduce code duplication hvitved Nov 11, 2026 https://github.com/github/codeql/pull/23072/commits/1c4fea90af949111bc1c625f1e72de56a12c7712
8a3d388 Type inference: Fix bad join following refactoring hvitved Nov 11, 2026 https://github.com/github/codeql/pull/23072/commits/8a3d388d5c9aabf27d514305bf604da5bb4dbf23
Clear filters https://github.com/github/codeql/pull/23072/files
Please reload this pagehttps://github.com/github/codeql/pull/23072/files
Please reload this pagehttps://github.com/github/codeql/pull/23072/files
main.rs https://github.com/github/codeql/pull/23072/files#diff-177518f526c08b6c63642041c66d44baa00cdfce39d11efb561e53c27ef2e5ac
type-inference.expected https://github.com/github/codeql/pull/23072/files#diff-66d2e17618bbb6169f790aaa1f97cfb107e350fe0d483f171bd27e6cf3c50bd3
TypeInference.qll https://github.com/github/codeql/pull/23072/files#diff-92b7348deb78d626ed9c382ed1eb2a6ab4b7291865006d0523ea460ef94bd1dd
https://github.com/github/codeql/blob/main/CODEOWNERS#L23
rust/ql/test/library-tests/type-inference/main.rshttps://github.com/github/codeql/pull/23072/files#diff-177518f526c08b6c63642041c66d44baa00cdfce39d11efb561e53c27ef2e5ac
View file https://github.com/hvitved/codeql/blob/8a3d388d5c9aabf27d514305bf604da5bb4dbf23/rust/ql/test/library-tests/type-inference/main.rs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23072/{{ revealButtonHref }}
https://github.com/github/codeql/pull/23072/files#diff-177518f526c08b6c63642041c66d44baa00cdfce39d11efb561e53c27ef2e5ac
https://github.com/github/codeql/pull/23072/files#diff-177518f526c08b6c63642041c66d44baa00cdfce39d11efb561e53c27ef2e5ac
https://github.com/github/codeql/blob/main/CODEOWNERS#L23
rust/ql/test/library-tests/type-inference/type-inference.expectedhttps://github.com/github/codeql/pull/23072/files#diff-66d2e17618bbb6169f790aaa1f97cfb107e350fe0d483f171bd27e6cf3c50bd3
View file https://github.com/hvitved/codeql/blob/8a3d388d5c9aabf27d514305bf604da5bb4dbf23/rust/ql/test/library-tests/type-inference/type-inference.expected
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql/pull/23072/{{ revealButtonHref }}
https://github.com/github/codeql/pull/23072/files#diff-66d2e17618bbb6169f790aaa1f97cfb107e350fe0d483f171bd27e6cf3c50bd3
https://github.com/github/codeql/pull/23072/files#diff-66d2e17618bbb6169f790aaa1f97cfb107e350fe0d483f171bd27e6cf3c50bd3
https://github.com/github/codeql/pull/23072/files#diff-66d2e17618bbb6169f790aaa1f97cfb107e350fe0d483f171bd27e6cf3c50bd3
https://github.com/github/codeql/pull/23072/files#diff-66d2e17618bbb6169f790aaa1f97cfb107e350fe0d483f171bd27e6cf3c50bd3
Please reload this pagehttps://github.com/github/codeql/pull/23072/files
Please reload this pagehttps://github.com/github/codeql/pull/23072/files
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.