Title: constructor should set node to scope like function · Issue #1673 · TypeScriptToLua/TypeScriptToLua · GitHub
Open Graph Title: constructor should set node to scope like function · Issue #1673 · TypeScriptToLua/TypeScriptToLua
X Title: constructor should set node to scope like function · Issue #1673 · TypeScriptToLua/TypeScriptToLua
Description: TypeScriptToLua/src/transformation/visitors/class/members/constructor.ts Lines 31 to 32 in bd00c15 const scope = context.pushScope(ScopeType.Function); const body = transformFunctionBodyContent(context, statement.body); TypeScriptToLua/s...
Open Graph Description: TypeScriptToLua/src/transformation/visitors/class/members/constructor.ts Lines 31 to 32 in bd00c15 const scope = context.pushScope(ScopeType.Function); const body = transformFunctionBodyContent(con...
X Description: TypeScriptToLua/src/transformation/visitors/class/members/constructor.ts Lines 31 to 32 in bd00c15 const scope = context.pushScope(ScopeType.Function); const body = transformFunctionBodyContent(con...
Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/issues/1673
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"constructor should set node to scope like function","articleBody":"https://github.com/TypeScriptToLua/TypeScriptToLua/blob/bd00c15acf511ce4a4f59d39d15e250133e85f1b/src/transformation/visitors/class/members/constructor.ts#L31-L32\n\nhttps://github.com/TypeScriptToLua/TypeScriptToLua/blob/bd00c15acf511ce4a4f59d39d15e250133e85f1b/src/transformation/visitors/function.ts#L170-L172\n\nthis break optimized varArg spread:\nhttps://typescripttolua.github.io/play/#code/5.4/GYVwdgxgLglg9mABAFQKYGcoDEAUA6AgQwCcBzdALkULAE8BtAXQEoBvAKES8QAdiYwUfETLpm7AL7t2EADaF06FBigBhRB26IICTMRDQ4xYXhLkqNBiw2ct3PgKEFTo8VqkSgA","author":{"url":"https://github.com/pilaoda","@type":"Person","name":"pilaoda"},"datePublished":"2025-12-25T09:05:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1673/TypeScriptToLua/issues/1673"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:29fb9032-61e2-2548-4778-056af18d6449 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 973A:26D9B9:2BB90F:3C9F96:6970A4C6 |
| html-safe-nonce | f1c07af228eb746719afcc5b89daaf72724d6a4311958d7e5ebaa3b7ebabcdf7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzNBOjI2RDlCOToyQkI5MEY6M0M5Rjk2OjY5NzBBNEM2IiwidmlzaXRvcl9pZCI6IjI3ODQyMzQwNzc3NzcwNzc0NDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf88dce15ee114cb85b6f055bf0e78c32722f7827a5fc95fe8c8b8b67622c7e5 |
| hovercard-subject-tag | issue:3761673094 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/TypeScriptToLua/TypeScriptToLua/1673/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78c4b8c0e38bda5375d1d4dde71afd45e92c11b7de5118cd84abc264ff856d29/TypeScriptToLua/TypeScriptToLua/issues/1673 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78c4b8c0e38bda5375d1d4dde71afd45e92c11b7de5118cd84abc264ff856d29/TypeScriptToLua/TypeScriptToLua/issues/1673 |
| og:image:alt | TypeScriptToLua/src/transformation/visitors/class/members/constructor.ts Lines 31 to 32 in bd00c15 const scope = context.pushScope(ScopeType.Function); const body = transformFunctionBodyContent(con... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pilaoda |
| hostname | github.com |
| expected-hostname | github.com |
| None | b06a4c45c45fd0bb038b3759265ea6e38211f45d18130bc65261990be6b5972a |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0e1c4964831785bd64cb22d82e7cf2391ae01f45 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width