Title: Code folding fail for arrow function when param list has no parentheses · Issue #33286 · microsoft/TypeScript · GitHub
Open Graph Title: Code folding fail for arrow function when param list has no parentheses · Issue #33286 · microsoft/TypeScript
X Title: Code folding fail for arrow function when param list has no parentheses · Issue #33286 · microsoft/TypeScript
Description: TypeScript Version: ??? VS Code version: Code - OSS 1.38.0 (3db7e09, 2019-09-05T13:09:16.557Z) OS version: Linux x64 5.2.8-arch1-1-ARCH Search Terms: code fold folding arrow function parenthesis Code // expected // curly block is foldabl...
Open Graph Description: TypeScript Version: ??? VS Code version: Code - OSS 1.38.0 (3db7e09, 2019-09-05T13:09:16.557Z) OS version: Linux x64 5.2.8-arch1-1-ARCH Search Terms: code fold folding arrow function parenthesis Co...
X Description: TypeScript Version: ??? VS Code version: Code - OSS 1.38.0 (3db7e09, 2019-09-05T13:09:16.557Z) OS version: Linux x64 5.2.8-arch1-1-ARCH Search Terms: code fold folding arrow function parenthesis Co...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/33286
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Code folding fail for arrow function when param list has no parentheses","articleBody":"\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** ???\r\n\r\n**VS Code version**: Code - OSS 1.38.0 (3db7e09f3b61f915d03bbfa58e258d6eee843f35, 2019-09-05T13:09:16.557Z)\r\n\r\n**OS version**: Linux x64 5.2.8-arch1-1-ARCH\r\n\r\n**Search Terms:**\r\ncode fold\r\nfolding\r\narrow function\r\nparenthesis\r\n\r\n**Code**\r\n\r\n```js\r\n// expected\r\n// curly block is foldable\r\ntestThing(\r\n (a) => {\r\n\r\n }\r\n)\r\n\r\n// unexpected\r\n// curly block is **not** foldable \r\ntestThing(\r\n a => {\r\n\r\n }\r\n)\r\n```\r\n\r\n**Expected behavior:**\r\nvscode let me fold the arrow function body.\r\n\r\n**Actual behavior:**\r\nIt does not.\r\n\r\n**Playground Link:**\r\nNot applicable.\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\nno","author":{"url":"https://github.com/chiawendt","@type":"Person","name":"chiawendt"},"datePublished":"2019-09-06T18:54:56Z","url":"https://github.com/microsoft/TypeScript/issues/33286"}
| react-profiling | 0 |
| react-import-map | react,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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d39ec5f-953b-a996-fc76-a1123e66c128 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AED8:3DCD28:3AE046:4E472F:6B0194A7 |
| html-safe-nonce | 52d86f63809de0fe97c402d02ab8c3fc6906bf79b38096b769e14c30f281c6de |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUQ4OjNEQ0QyODozQUUwNDY6NEU0NzJGOjZCMDE5NEE3IiwidmlzaXRvcl9pZCI6IjI1NzI2MTY2MDY3MjMxODM3ODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 112d2216f4e0acfb8531493d4fd787ceca311cce68210f82a05db96992e2ac29 |
| hovercard-subject-tag | issue:490474896 |
| 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/microsoft/TypeScript/33286/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6ac120a6ff44da19a0f34ebf0e9701f17197d1141aef8d32c08d79971557f77a/microsoft/TypeScript/issues/33286 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6ac120a6ff44da19a0f34ebf0e9701f17197d1141aef8d32c08d79971557f77a/microsoft/TypeScript/issues/33286 |
| og:image:alt | TypeScript Version: ??? VS Code version: Code - OSS 1.38.0 (3db7e09, 2019-09-05T13:09:16.557Z) OS version: Linux x64 5.2.8-arch1-1-ARCH Search Terms: code fold folding arrow function parenthesis Co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chiawendt |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width