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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:366c13fd-e4a1-e084-2a7d-cff98a1edb3c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D436:3B806F:365833:480238:6973003E |
| html-safe-nonce | 9e510b43d0f6e98a5c5147564a7a134366294238bb56c127c855aeeaeb860d7a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDM2OjNCODA2RjozNjU4MzM6NDgwMjM4OjY5NzMwMDNFIiwidmlzaXRvcl9pZCI6IjQ5MjI3NDg1MjgzOTMxMjU5NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8252f207bad4a68709cbc92eae724961a2abded1813bd361e4a53316b67e4328 |
| hovercard-subject-tag | pull_request:2272990350 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/TypeScriptToLua/TypeScriptToLua/pull/1610/checks |
| twitter:image | https://avatars.githubusercontent.com/u/65421017?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65421017?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4 |
| turbo-cache-control | no-cache |
| go-import | github.com/TypeScriptToLua/TypeScriptToLua git https://github.com/TypeScriptToLua/TypeScriptToLua.git |
| octolytics-dimension-user_id | 44121206 |
| octolytics-dimension-user_login | TypeScriptToLua |
| octolytics-dimension-repository_id | 115876595 |
| octolytics-dimension-repository_nwo | TypeScriptToLua/TypeScriptToLua |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 115876595 |
| octolytics-dimension-repository_network_root_nwo | TypeScriptToLua/TypeScriptToLua |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | a5e2b48bd1260476599758f5d253b5d24092ab84 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width