| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8e53517f-a67e-5d51-2220-e8ee9e4dbbb6 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 988C:26ECEB:9A36BB:C7E71A:6B00DFDF |
| html-safe-nonce | eca2b322a63e654da1b5e0d89db57ad4cd695c133acda70d1a039adf62ffdffd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODhDOjI2RUNFQjo5QTM2QkI6QzdFNzFBOjZCMDBERkRGIiwidmlzaXRvcl9pZCI6IjYwMDIyMjQ4MzgxMzM5OTc1MzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c0d332cd1f9abcef832c49b0bdbdff6e99cd3c6758b8afed7ae79bae4294745a |
| hovercard-subject-tag | pull_request:3853741023 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/purescript-lua/purescript-lua/pull/43/files |
| twitter:image | https://avatars.githubusercontent.com/u/1009751?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1009751?s=400&v=4 |
| og:image:alt | The IR refers to locals by name plus a De Bruijn-style index, and the scoping rule for Let was inconsistent across the codebase. renameShadowedNames, DCE and the Lua codegen all treat let bindings ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 043c3f30fbcbe2c6c8e729e10cbbbc90c406546f9fbbb67c648d38f6b7d16daf |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git |
| octolytics-dimension-user_id | 131581790 |
| octolytics-dimension-user_login | purescript-lua |
| octolytics-dimension-repository_id | 587200487 |
| octolytics-dimension-repository_nwo | purescript-lua/purescript-lua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 587200487 |
| octolytics-dimension-repository_network_root_nwo | purescript-lua/purescript-lua |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5425dc24e8bd8d6fca9641a12afc984825a43875 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/purescript-lua/purescript-lua/pull/43/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F43%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F43%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=purescript-lua%2Fpurescript-lua |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/43/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/43/files |
| Reload | https://github.com/purescript-lua/purescript-lua/pull/43/files |
| purescript-lua | https://github.com/purescript-lua |
| purescript-lua | https://github.com/purescript-lua/purescript-lua |
| Code | https://github.com/purescript-lua/purescript-lua |
| Issues48 (48) | https://github.com/purescript-lua/purescript-lua/issues |
| Pull requests | https://github.com/purescript-lua/purescript-lua/pulls |
| Discussions | https://github.com/purescript-lua/purescript-lua/discussions |
| Actions | https://github.com/purescript-lua/purescript-lua/actions |
| Projects | https://github.com/purescript-lua/purescript-lua/projects |
| Security and quality | https://github.com/purescript-lua/purescript-lua/security |
| Insights | https://github.com/purescript-lua/purescript-lua/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpurescript-lua%2Fpurescript-lua%2Fissues%2Fnew%2Fchoose |
| Unisay | https://github.com/Unisay |
| main | https://github.com/purescript-lua/purescript-lua/tree/main |
| yura/fix-issue-37 | https://github.com/purescript-lua/purescript-lua/tree/yura/fix-issue-37 |
|
Conversation
1
| https://github.com/purescript-lua/purescript-lua/pull/43 |
|
Commits
5
| https://github.com/purescript-lua/purescript-lua/pull/43/commits |
|
Checks
1
| https://github.com/purescript-lua/purescript-lua/pull/43/checks |
|
Files changed
| https://github.com/purescript-lua/purescript-lua/pull/43/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/43/files |
|
Fix unbound variable references produced by inlining (#37)
| https://github.com/purescript-lua/purescript-lua/pull/43/files#top |
|
Show all changes
5 commits
| https://github.com/purescript-lua/purescript-lua/pull/43/files |
|
47b3316
test: reproduce issue #37 (undefined variable in compiled code)
Unisay Jun 12, 2026
| https://github.com/purescript-lua/purescript-lua/pull/43/commits/47b3316bf3e82a5758485d7953b0b304dbd56623 |
|
51d1b79
test: pin sequential (let*) scoping convention for shift/substitute/c…
Unisay Jun 12, 2026
| https://github.com/purescript-lua/purescript-lua/pull/43/commits/51d1b794dbcd71010c6829a86c163d83e394d112 |
|
3c64f5a
fix: align shift/substitute/countFreeRefs with sequential Let scoping…
Unisay Jun 12, 2026
| https://github.com/purescript-lua/purescript-lua/pull/43/commits/3c64f5ae4fed3a6d1629d0c6f8f46dd2ab6b5411 |
|
55a7574
chore(test): fix typo in golden spec progress message
Unisay Jun 12, 2026
| https://github.com/purescript-lua/purescript-lua/pull/43/commits/55a75747b984a3504f80b135ea06527b1061eed5 |
|
69bd23c
docs: add Note [Sequential scoping of Let bindings]; fix same defect …
Unisay Jun 12, 2026
| https://github.com/purescript-lua/purescript-lua/pull/43/commits/69bd23c11c074f28fa3ae78e439d3dc6716b1b36 |
|
Clear filters
| https://github.com/purescript-lua/purescript-lua/pull/43/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/43/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/43/files |
|
DCE.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-a109a10f5eb1daf399873d5f872423b876fe04a88668660f01506076cefe8f78 |
|
Linker.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-114e667388f6a8a686b7993566e51078f236daa12b3d6da94e4935c60f7c3400 |
|
Optimizer.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
Types.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
Lua.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-11295f6f97401e5cc1fdfa2a8caa3fc80edc56cd58262d3de010e803f8d3640f |
|
pslua.cabal
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-cf0302393cf6443df4429c19c0fc326753a83405d0366075a98ac2753e5e1ab2 |
|
Spec.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-48105ebdce501cd50056cda7f2bee222ce1dc3192559f041c3a40b5035c9b68b |
|
Spec.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-241ea2421c606c31b9414fb386f9f4d1beb60055ed792935b393101edfd7b949 |
|
Spec.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-bc1fa00b08aad14838a06a1bfed8842087ce893a8b977678c68deea85c0610a4 |
|
Spec.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-e10bc6586bdc2afb3eed89cc8935f6ff0059d32a82668123ce53808a6046c019 |
|
Main.hs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-9e8bdd24d557cfe94781d844e68e97f4b626c833420d18df4e04619a54273b34 |
|
Test.purs
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-cc42cc1083485f584643391dd9676e738b0b74b10f193402374aef214e27c947 |
|
corefn.json
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-dcca3e2e036963352c61e6b6127568fa63872b25a707fc3a5923e7a0e90c9e0c |
|
golden.ir
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-214ade9cc7aa9bbbaeb07927c013dfa7eeb9f9e2f12ed14f5d31fc98a446bd13 |
|
golden.lua
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-67e4dcf4711ce34fdb0ed8a2c23c4b638cf54c282818689a85be15ec720ace60 |
| lib/Language/PureScript/Backend/IR/DCE.hs | https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-a109a10f5eb1daf399873d5f872423b876fe04a88668660f01506076cefe8f78 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/69bd23c11c074f28fa3ae78e439d3dc6716b1b36/lib/Language/PureScript/Backend/IR/DCE.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/43/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-a109a10f5eb1daf399873d5f872423b876fe04a88668660f01506076cefe8f78 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-a109a10f5eb1daf399873d5f872423b876fe04a88668660f01506076cefe8f78 |
| lib/Language/PureScript/Backend/IR/Linker.hs | https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-114e667388f6a8a686b7993566e51078f236daa12b3d6da94e4935c60f7c3400 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/69bd23c11c074f28fa3ae78e439d3dc6716b1b36/lib/Language/PureScript/Backend/IR/Linker.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/43/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-114e667388f6a8a686b7993566e51078f236daa12b3d6da94e4935c60f7c3400 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-114e667388f6a8a686b7993566e51078f236daa12b3d6da94e4935c60f7c3400 |
| lib/Language/PureScript/Backend/IR/Optimizer.hs | https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/69bd23c11c074f28fa3ae78e439d3dc6716b1b36/lib/Language/PureScript/Backend/IR/Optimizer.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/43/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-487ead9d0ca9c3e6f68e23c604b0ae9070089e0dd0f7d214cdce5fbc878f3315 |
| lib/Language/PureScript/Backend/IR/Types.hs | https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
View file
| https://github.com/purescript-lua/purescript-lua/blob/69bd23c11c074f28fa3ae78e439d3dc6716b1b36/lib/Language/PureScript/Backend/IR/Types.hs |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/purescript-lua/purescript-lua/pull/43/{{ revealButtonHref }} |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
|
| https://github.com/purescript-lua/purescript-lua/pull/43/files#diff-c628fb950daac01f47dc80a039e24b8b452f9d578ab0d55483d10758027b4884 |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/43/files |
| Please reload this page | https://github.com/purescript-lua/purescript-lua/pull/43/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |