Title: Exported array destructuring variable declaration with omitted expressions exports anonymous symbol · Issue #695 · TypeScriptToLua/TypeScriptToLua · GitHub
Open Graph Title: Exported array destructuring variable declaration with omitted expressions exports anonymous symbol · Issue #695 · TypeScriptToLua/TypeScriptToLua
X Title: Exported array destructuring variable declaration with omitted expressions exports anonymous symbol · Issue #695 · TypeScriptToLua/TypeScriptToLua
Description: Input: export const [x, , y] = [1, 2, 3]; Current Result: local ____exports = {} ____exports.x, ____exports.____, ____exports.y = 1, 2, 3 return ____exports Expected Result: local ____exports = {} ____exports.x, ____, ____exports.y = 1, ...
Open Graph Description: Input: export const [x, , y] = [1, 2, 3]; Current Result: local ____exports = {} ____exports.x, ____exports.____, ____exports.y = 1, 2, 3 return ____exports Expected Result: local ____exports = {} ...
X Description: Input: export const [x, , y] = [1, 2, 3]; Current Result: local ____exports = {} ____exports.x, ____exports.____, ____exports.y = 1, 2, 3 return ____exports Expected Result: local ____exports = {} ...
Opengraph URL: https://github.com/TypeScriptToLua/TypeScriptToLua/issues/695
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Exported array destructuring variable declaration with omitted expressions exports anonymous symbol","articleBody":"Input:\r\n```ts\r\nexport const [x, , y] = [1, 2, 3];\r\n```\r\n\r\nCurrent Result:\r\n```lua\r\nlocal ____exports = {}\r\n____exports.x, ____exports.____, ____exports.y = 1, 2, 3\r\nreturn ____exports\r\n```\r\n\r\nExpected Result:\r\n```lua\r\nlocal ____exports = {}\r\n____exports.x, ____, ____exports.y = 1, 2, 3\r\nreturn ____exports\r\n```","author":{"url":"https://github.com/ark120202","@type":"Person","name":"ark120202"},"datePublished":"2019-07-29T08:02:10.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/695/TypeScriptToLua/issues/695"}
| 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:41d65ff2-ccf0-ce25-ef14-246a330d9954 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD42:18A62A:37218FE:47DA7F3:6974B5DA |
| html-safe-nonce | 2262e333dc2a512897f0b352cbfcfd683556d440e3279614047204193caf7340 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDQyOjE4QTYyQTozNzIxOEZFOjQ3REE3RjM6Njk3NEI1REEiLCJ2aXNpdG9yX2lkIjoiMjcyMjU5NTAyNjQyNzQ5MTgwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 11322a7b9f254d16683146617d7f023fec134e75141e61ead03aff4bfe823129 |
| hovercard-subject-tag | issue:473907435 |
| 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/695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9be0adc90e83a2e8c9b9c3b058daee7166506f9d59f17cddcb61856a1936e279/TypeScriptToLua/TypeScriptToLua/issues/695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9be0adc90e83a2e8c9b9c3b058daee7166506f9d59f17cddcb61856a1936e279/TypeScriptToLua/TypeScriptToLua/issues/695 |
| og:image:alt | Input: export const [x, , y] = [1, 2, 3]; Current Result: local ____exports = {} ____exports.x, ____exports.____, ____exports.y = 1, 2, 3 return ____exports Expected Result: local ____exports = {} ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ark120202 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| 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 | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width