Title: Compiler hangs · Issue #31823 · microsoft/TypeScript · GitHub
Open Graph Title: Compiler hangs · Issue #31823 · microsoft/TypeScript
X Title: Compiler hangs · Issue #31823 · microsoft/TypeScript
Description: But looks like CPU and Memory usage is not increasing. TypeScript Version: master Search Terms: Code export type Prepend
Open Graph Description: But looks like CPU and Memory usage is not increasing. TypeScript Version: master Search Terms: Code export type Prepend
X Description: But looks like CPU and Memory usage is not increasing. TypeScript Version: master Search Terms: Code export type Prepend<Elm, T extends unknown[]> = T extends unknown ? ((arg: Elm, ...rest: T...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/31823
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compiler hangs","articleBody":"But looks like CPU and Memory usage is not increasing.\r\n\r\n\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** master\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\n\r\n**Code**\r\n\r\n```ts\r\nexport type Prepend\u003cElm, T extends unknown[]> =\r\n T extends unknown ?\r\n ((arg: Elm, ...rest: T) => void) extends ((...args: infer T2) => void) ? T2 :\r\n never :\r\n never;\r\nexport type ExactExtract\u003cT, U> = T extends U ? U extends T ? T : never : never;\r\n\r\ntype Conv\u003cT, U = T> =\r\n { 0: [T]; 1: Prepend\u003cT, Conv\u003cExactExtract\u003cU, T>>>;}[U extends T ? 0 : 1];\r\n```\r\n\r\n**Expected behavior:**\r\n\r\npass\r\n\r\n**Actual behavior:**\r\n\r\nhang\r\n\r\n**Playground Link:** \u003c!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior -->\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\n","author":{"url":"https://github.com/falsandtru","@type":"Person","name":"falsandtru"},"datePublished":"2019-06-08T01:16:10Z","url":"https://github.com/microsoft/TypeScript/issues/31823"}
| 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:33e7583e-dd8d-fe60-e1d8-cc2b095e4755 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B716:6365:2562B4F:31EC3B6:6B01A575 |
| html-safe-nonce | 7cb19473696762e03bfd1a1a12fd1e9d97c05c114442940b5c9c18cc0dc8b566 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzE2OjYzNjU6MjU2MkI0RjozMUVDM0I2OjZCMDFBNTc1IiwidmlzaXRvcl9pZCI6IjYxNDQ1NjA4ODc1NDcxNDM1NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e0eccf1ba6205ba25c049ec9bf18016c4081580e16b732844ffb03feb81fdc65 |
| hovercard-subject-tag | issue:453741169 |
| 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/31823/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d8c39f1724ab723b5d68bedf407a28159b67b8d92cc2e43eda108ab110a9345/microsoft/TypeScript/issues/31823 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d8c39f1724ab723b5d68bedf407a28159b67b8d92cc2e43eda108ab110a9345/microsoft/TypeScript/issues/31823 |
| og:image:alt | But looks like CPU and Memory usage is not increasing. TypeScript Version: master Search Terms: Code export type Prepend |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | falsandtru |
| 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