René's URL Explorer Experiment


Title: Avoid IIFE wrapping in IR.Abs lowering by Copilot · Pull Request #160 · purescript-lua/purescript-lua · GitHub

Open Graph Title: Avoid IIFE wrapping in IR.Abs lowering by Copilot · Pull Request #160 · purescript-lua/purescript-lua

X Title: Avoid IIFE wrapping in IR.Abs lowering by Copilot · Pull Request #160 · purescript-lua/purescript-lua

Description: Purescript compiler back-end for Lua. Contribute to purescript-lua/purescript-lua development by creating an account on GitHub.

Open Graph Description: IR.Abs lowering was routing every body through asExpression, so a Let or IfThenElse body became (function() chunk end)() inside a return. removeScopeWhenInsideEmptyFunction then had to undo that on...

X Description: IR.Abs lowering was routing every body through asExpression, so a Let or IfThenElse body became (function() chunk end)() inside a return. removeScopeWhenInsideEmptyFunction then had to undo that on...

Opengraph URL: https://github.com/purescript-lua/purescript-lua/pull/160

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:fac82efe-aea1-9108-ea8e-41e2532a6547
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8E42:785A9:A96A63:D814CB:6B00F49C
html-safe-noncebd92f435b3693a7ef2da0731158b5c1075fc42d7cb009872fb37dcfe15e6f20f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RTQyOjc4NUE5OkE5NkE2MzpEODE0Q0I6NkIwMEY0OUMiLCJ2aXNpdG9yX2lkIjoiNTY2NjQ4MDY3NzYwMDY4NzI2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac99bcb91acad3390de02982ae9e953f258065d25212280590588fa05e8e2549ce
hovercard-subject-tagpull_request:3991704607
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/purescript-lua/purescript-lua/160/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8d4230a27f80f4dbc78eea6a7f4b1eaade2e2ff686af964acc59451083218e55/purescript-lua/purescript-lua/pull/160
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8d4230a27f80f4dbc78eea6a7f4b1eaade2e2ff686af964acc59451083218e55/purescript-lua/purescript-lua/pull/160
og:image:altIR.Abs lowering was routing every body through asExpression, so a Let or IfThenElse body became (function() chunk end)() inside a return. removeScopeWhenInsideEmptyFunction then had to undo that on...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameCopilot
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-cache
go-importgithub.com/purescript-lua/purescript-lua git https://github.com/purescript-lua/purescript-lua.git
octolytics-dimension-user_id131581790
octolytics-dimension-user_loginpurescript-lua
octolytics-dimension-repository_id587200487
octolytics-dimension-repository_nwopurescript-lua/purescript-lua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id587200487
octolytics-dimension-repository_network_root_nwopurescript-lua/purescript-lua
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
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/purescript-lua/purescript-lua/pull/160#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F160
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%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F160
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=purescript-lua%2Fpurescript-lua
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/160
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/160
Reloadhttps://github.com/purescript-lua/purescript-lua/pull/160
purescript-luahttps://github.com/purescript-lua
purescript-luahttps://github.com/purescript-lua/purescript-lua
Codehttps://github.com/purescript-lua/purescript-lua
Issues48 (48)https://github.com/purescript-lua/purescript-lua/issues
Pull requestshttps://github.com/purescript-lua/purescript-lua/pulls
Discussionshttps://github.com/purescript-lua/purescript-lua/discussions
Actionshttps://github.com/purescript-lua/purescript-lua/actions
Projectshttps://github.com/purescript-lua/purescript-lua/projects
Security and qualityhttps://github.com/purescript-lua/purescript-lua/security
Insightshttps://github.com/purescript-lua/purescript-lua/insights
https://github.com/purescript-lua/purescript-lua
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
copilot/fix-ir-abs-lowering-scope-iifehttps://github.com/purescript-lua/purescript-lua/tree/copilot/fix-ir-abs-lowering-scope-iife
Conversationhttps://github.com/purescript-lua/purescript-lua/pull/160
Commits5 (5)https://github.com/purescript-lua/purescript-lua/pull/160/commits
Checkshttps://github.com/purescript-lua/purescript-lua/pull/160/checks
Files changedhttps://github.com/purescript-lua/purescript-lua/pull/160/files
Avoid IIFE wrapping in IR.Abs loweringhttps://github.com/purescript-lua/purescript-lua/pull/160#top
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-swe-agent
mainhttps://github.com/purescript-lua/purescript-lua/tree/main
copilot/fix-ir-abs-lowering-scope-iifehttps://github.com/purescript-lua/purescript-lua/tree/copilot/fix-ir-abs-lowering-scope-iife
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jul 4, 2026https://github.com/purescript-lua/purescript-lua/pull/160#issue-4810408774
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
https://github.com/apps/copilot-swe-agent
Initial planhttps://github.com/purescript-lua/purescript-lua/pull/160/commits/57da937b668e3c5551994888aeb745ea820d948c
57da937https://github.com/purescript-lua/purescript-lua/pull/160/commits/57da937b668e3c5551994888aeb745ea820d948c
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Unisayhttps://github.com/Unisay
Jul 4, 2026https://github.com/purescript-lua/purescript-lua/pull/160#event-27562631780
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jul 4, 2026https://github.com/purescript-lua/purescript-lua/pull/160#event-27562633852
IR.Abs lowering wraps a chunk body in a scope IIFE that a separate rule then strips #158 https://github.com/purescript-lua/purescript-lua/issues/158
started workhttps://github.com/purescript-lua/purescript-lua/sessions/bf21c142-aa85-4621-8a97-1c3f82fda184
Unisayhttps://github.com/Unisay
July 4, 2026 20:13https://github.com/purescript-lua/purescript-lua/pull/160#event-27562633861
View session https://github.com/purescript-lua/purescript-lua/sessions/bf21c142-aa85-4621-8a97-1c3f82fda184
https://github.com/apps/copilot-swe-agent
Avoid IIFE wrapping in IR.Abs lowering and remove dead optimizer rulehttps://github.com/purescript-lua/purescript-lua/pull/160/commits/dc73d112edf0ee2fab8adb46df008667850ffa09
dc73d11https://github.com/purescript-lua/purescript-lua/pull/160/commits/dc73d112edf0ee2fab8adb46df008667850ffa09
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jul 4, 2026https://github.com/purescript-lua/purescript-lua/pull/160#event-27563059503
finished workhttps://github.com/purescript-lua/purescript-lua/sessions/bf21c142-aa85-4621-8a97-1c3f82fda184
Unisayhttps://github.com/Unisay
July 4, 2026 20:48https://github.com/purescript-lua/purescript-lua/pull/160#event-27563061137
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Unisayhttps://github.com/Unisay
July 4, 2026 20:48https://github.com/purescript-lua/purescript-lua/pull/160#event-27563061155
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 5, 2026 08:25https://github.com/purescript-lua/purescript-lua/pull/160#event-27570408217
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Copilothttps://github.com/apps/copilot-pull-request-reviewer
July 5, 2026 08:26https://github.com/purescript-lua/purescript-lua/pull/160#event-27570419966
started reviewinghttps://github.com/purescript-lua/purescript-lua/sessions/1f8832f4-5555-49c4-bd44-80cfbefcf234
Unisayhttps://github.com/Unisay
July 5, 2026 08:27https://github.com/purescript-lua/purescript-lua/pull/160#event-27570423923
View session https://github.com/purescript-lua/purescript-lua/sessions/1f8832f4-5555-49c4-bd44-80cfbefcf234
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jul 5, 2026 https://github.com/purescript-lua/purescript-lua/pull/160#pullrequestreview-4631000001
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/160/files/dc73d112edf0ee2fab8adb46df008667850ffa09
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/purescript-lua/purescript-lua/pull/160#pullrequestreview-4631000001
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 5, 2026 https://github.com/purescript-lua/purescript-lua/pull/160#pullrequestreview-4631004458
View reviewed changes https://github.com/purescript-lua/purescript-lua/pull/160/files/dc73d112edf0ee2fab8adb46df008667850ffa09
Unisayhttps://github.com/Unisay
https://github.com/purescript-lua/purescript-lua/pull/160#pullrequestreview-4631004458
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#158https://github.com/purescript-lua/purescript-lua/issues/158
#158https://github.com/purescript-lua/purescript-lua/issues/158
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
started workhttps://github.com/purescript-lua/purescript-lua/sessions/07c3ede4-9b54-4816-86f9-fb8c405f1cb5
Unisayhttps://github.com/Unisay
July 5, 2026 08:32https://github.com/purescript-lua/purescript-lua/pull/160#event-27570486260
View session https://github.com/purescript-lua/purescript-lua/sessions/07c3ede4-9b54-4816-86f9-fb8c405f1cb5
https://github.com/apps/copilot-swe-agent
Add IR.Abs chunk-body regression testshttps://github.com/purescript-lua/purescript-lua/pull/160/commits/e7114491c273dd225ef3ade90761d6a3f13d2be8
e711449https://github.com/purescript-lua/purescript-lua/pull/160/commits/e7114491c273dd225ef3ade90761d6a3f13d2be8
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Jul 5, 2026https://github.com/purescript-lua/purescript-lua/pull/160#issuecomment-4885407949
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
https://github.com/apps/copilot-swe-agent
Copilothttps://github.com/apps/copilot-swe-agent
Unisayhttps://github.com/Unisay
July 5, 2026 08:36https://github.com/purescript-lua/purescript-lua/pull/160#event-27570526646
finished workhttps://github.com/purescript-lua/purescript-lua/sessions/07c3ede4-9b54-4816-86f9-fb8c405f1cb5
Unisayhttps://github.com/Unisay
July 5, 2026 08:36https://github.com/purescript-lua/purescript-lua/pull/160#event-27570526732
Unisayhttps://github.com/Unisay
July 6, 2026 08:36https://github.com/purescript-lua/purescript-lua/pull/160#commits-pushed-34e9c82
https://github.com/Unisay
Merge remote-tracking branch 'origin/main' into pr160-workhttps://github.com/purescript-lua/purescript-lua/pull/160/commits/34e9c82522ce7cd57762e16d601042b5f365f7a7
34e9c82https://github.com/purescript-lua/purescript-lua/pull/160/commits/34e9c82522ce7cd57762e16d601042b5f365f7a7
https://github.com/Unisay
test: fix compilation of the Abs regression spec (error row, imports)https://github.com/purescript-lua/purescript-lua/pull/160/commits/385e40556f34def85c9ca36cf2d9ae9f330a119b
385e405https://github.com/purescript-lua/purescript-lua/pull/160/commits/385e40556f34def85c9ca36cf2d9ae9f330a119b
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 6, 2026 https://github.com/purescript-lua/purescript-lua/pull/160#ref-pullrequest-4816658969
Avoid IIFE wrapping in IR.Abs lowering #170 https://github.com/purescript-lua/purescript-lua/pull/170
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 6, 2026https://github.com/purescript-lua/purescript-lua/pull/160#issuecomment-4889895459
#170https://github.com/purescript-lua/purescript-lua/pull/170
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
https://github.com/Unisay
Unisayhttps://github.com/Unisay
Jul 6, 2026https://github.com/purescript-lua/purescript-lua/pull/160#event-27592364706
https://github.com/Unisay
Unisayhttps://github.com/Unisay
July 6, 2026 06:48https://github.com/purescript-lua/purescript-lua/pull/160#event-27592366209
https://github.co/hiddenchars
https://github.com/purescript-lua/purescript-lua/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%2Fpurescript-lua%2Fpurescript-lua%2Fpull%2F160
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/purescript-lua/purescript-lua/pull/160/files/dc73d112edf0ee2fab8adb46df008667850ffa09
https://github.com/Unisay
Unisay https://github.com/Unisay
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
https://github.com/Unisay
Unisay https://github.com/Unisay
Copilot code review https://github.com/apps/copilot-swe-agent
Copilot https://github.com/apps/copilot-swe-agent
IR.Abs lowering wraps a chunk body in a scope IIFE that a separate rule then strips https://github.com/purescript-lua/purescript-lua/issues/158
Please reload this pagehttps://github.com/purescript-lua/purescript-lua/pull/160
https://github.com/apps/copilot-swe-agent
https://github.com/Unisay
https://github.com/apps/copilot-pull-request-reviewer
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.