René's URL Explorer Experiment


Title: Allow stacktraces in Lua 5.1 and LuaJIT and fix level in lualib by emmachase · Pull Request #1610 · TypeScriptToLua/TypeScriptToLua · GitHub

Open Graph Title: Allow stacktraces in Lua 5.1 and LuaJIT and fix level in lualib by emmachase · Pull Request #1610 · TypeScriptToLua/TypeScriptToLua

X Title: Allow stacktraces in Lua 5.1 and LuaJIT and fix level in lualib by emmachase · Pull Request #1610 · TypeScriptToLua/TypeScriptToLua

Description: Lua 5.1 and LuaJIT have a bug where it's not possible to specify the level without a message. Previously the stacktrace was just ignored in TSTL for these versions; but we can workaround this bug by just specifying an empty message and trimming the newline with string.sub. Also: Fix the constructor passed when getting the stacktrace, as constructor.new doesn't seem to exist. I suspect that .new used to be a thing but was never updated when this was changed. Is there any circumstance where finding the __TS__New would result in the wrong level? Since __TS__New is not specifically for Error. I also noticed a typo and what looks like a bug in the testEachVersion util where if it found any target that was disabled, it would completely exit even if other versions were specified.

Open Graph Description: Lua 5.1 and LuaJIT have a bug where it's not possible to specify the level without a message. Previously the stacktrace was just ignored in TSTL for these versions; but we can workaround this b...

X Description: Lua 5.1 and LuaJIT have a bug where it's not possible to specify the level without a message. Previously the stacktrace was just ignored in TSTL for these versions; but we can workaround th...

Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:cab6b7c8-ba68-d3c3-b544-397d3c8eb3dd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB134:17C51:2DA6FD6:3ED38DF:6972AB82
html-safe-nonce1b102312b42317d3628af42bfaa6c37442f9763bbc5f61904d06812d62ad5ed4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTM0OjE3QzUxOjJEQTZGRDY6M0VEMzhERjo2OTcyQUI4MiIsInZpc2l0b3JfaWQiOiIzODQwODE5MjE2ODI2Njc0MDUwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac639d579d181a9a92da59649e64b72a9582aef92ad3887d164c66208a9a81c376
hovercard-subject-tagpull_request:2272990350
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/TypeScriptToLua/TypeScriptToLua/pull/1610/files
twitter:imagehttps://avatars.githubusercontent.com/u/65421017?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/65421017?s=400&v=4
og:image:altLua 5.1 and LuaJIT have a bug where it's not possible to specify the level without a message. Previously the stacktrace was just ignored in TSTL for these versions; but we can workaround this b...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneae357919e9cc5fb635a01c9a2cc530478d3ac85f55090215eb70e1beca3385ac
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/TypeScriptToLua/TypeScriptToLua git https://github.com/TypeScriptToLua/TypeScriptToLua.git
octolytics-dimension-user_id44121206
octolytics-dimension-user_loginTypeScriptToLua
octolytics-dimension-repository_id115876595
octolytics-dimension-repository_nwoTypeScriptToLua/TypeScriptToLua
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id115876595
octolytics-dimension-repository_network_root_nwoTypeScriptToLua/TypeScriptToLua
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
release625f1bd9f76a617a9c0729e2de91edb56b6ce42f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FTypeScriptToLua%2FTypeScriptToLua%2Fpull%2F1610%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2FTypeScriptToLua%2FTypeScriptToLua%2Fpull%2F1610%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=TypeScriptToLua%2FTypeScriptToLua
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Reloadhttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
TypeScriptToLua https://github.com/TypeScriptToLua
TypeScriptToLuahttps://github.com/TypeScriptToLua/TypeScriptToLua
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Notifications https://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua
Fork 181 https://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua
Star 2.4k https://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua
Code https://github.com/TypeScriptToLua/TypeScriptToLua
Issues 138 https://github.com/TypeScriptToLua/TypeScriptToLua/issues
Pull requests 8 https://github.com/TypeScriptToLua/TypeScriptToLua/pulls
Actions https://github.com/TypeScriptToLua/TypeScriptToLua/actions
Wiki https://github.com/TypeScriptToLua/TypeScriptToLua/wiki
Security 0 https://github.com/TypeScriptToLua/TypeScriptToLua/security
Insights https://github.com/TypeScriptToLua/TypeScriptToLua/pulse
Code https://github.com/TypeScriptToLua/TypeScriptToLua
Issues https://github.com/TypeScriptToLua/TypeScriptToLua/issues
Pull requests https://github.com/TypeScriptToLua/TypeScriptToLua/pulls
Actions https://github.com/TypeScriptToLua/TypeScriptToLua/actions
Wiki https://github.com/TypeScriptToLua/TypeScriptToLua/wiki
Security https://github.com/TypeScriptToLua/TypeScriptToLua/security
Insights https://github.com/TypeScriptToLua/TypeScriptToLua/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FTypeScriptToLua%2FTypeScriptToLua%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FTypeScriptToLua%2FTypeScriptToLua%2Fissues%2Fnew%2Fchoose
Perryvwhttps://github.com/Perryvw
TypeScriptToLua:masterhttps://github.com/TypeScriptToLua/TypeScriptToLua/tree/master
emmachase:masterhttps://github.com/emmachase/TypeScriptToLua/tree/master
Conversation 6 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610
Commits 3 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/commits
Checks 5 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/checks
Files changed https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Allow stacktraces in Lua 5.1 and LuaJIT and fix level in lualib https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#top
Show all changes 3 commits https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
631f3d3 Allow stacktraces in Lua 5.1 and LuaJIT emmachase Jan 13, 2025 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/commits/631f3d3925de8ec1e23329e934c48bf6b8da6dff
9471a83 Fix lint emmachase Jan 13, 2025 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/commits/9471a838c40bf7cb631205fbf1f40707f48a4e08
c454e3a Run prettier emmachase Jan 13, 2025 https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/commits/c454e3aa31a1327e9b8b71fd4220fdbcc171f59a
Clear filters https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Error.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-d24498c9219ccc9889490de3fd5f55c7df3f8e60efb5b86f5c104bdc7fb26038
error.spec.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-ce7919d0d7003eea6beec566ea415232f18f304bdd459dff01628053eb497087
util.ts https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
src/lualib/Error.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-d24498c9219ccc9889490de3fd5f55c7df3f8e60efb5b86f5c104bdc7fb26038
View file https://github.com/emmachase/TypeScriptToLua/blob/c454e3aa31a1327e9b8b71fd4220fdbcc171f59a/src/lualib/Error.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-d24498c9219ccc9889490de3fd5f55c7df3f8e60efb5b86f5c104bdc7fb26038
Perryvwhttps://github.com/Perryvw
Jan 13, 2025https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#r1913780330
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
emmachasehttps://github.com/emmachase
Jan 13, 2025https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#r1913790605
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-d24498c9219ccc9889490de3fd5f55c7df3f8e60efb5b86f5c104bdc7fb26038
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-d24498c9219ccc9889490de3fd5f55c7df3f8e60efb5b86f5c104bdc7fb26038
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-d24498c9219ccc9889490de3fd5f55c7df3f8e60efb5b86f5c104bdc7fb26038
test/unit/error.spec.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-ce7919d0d7003eea6beec566ea415232f18f304bdd459dff01628053eb497087
View file https://github.com/emmachase/TypeScriptToLua/blob/c454e3aa31a1327e9b8b71fd4220fdbcc171f59a/test/unit/error.spec.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-ce7919d0d7003eea6beec566ea415232f18f304bdd459dff01628053eb497087
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-ce7919d0d7003eea6beec566ea415232f18f304bdd459dff01628053eb497087
test/util.tshttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
View file https://github.com/emmachase/TypeScriptToLua/blob/c454e3aa31a1327e9b8b71fd4220fdbcc171f59a/test/util.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/{{ revealButtonHref }}
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/files#diff-8951d3f508f54ec05c5df49f04f821a2aec5c75bce858639461f388e498a398c
Please reload this pagehttps://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/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.