Title: Use contextual signature instantiation to compare signatures · Issue #138 · microsoft/TypeScript · GitHub
Open Graph Title: Use contextual signature instantiation to compare signatures · Issue #138 · microsoft/TypeScript
X Title: Use contextual signature instantiation to compare signatures · Issue #138 · microsoft/TypeScript
Description: Now that we have a heuristic algorithm for infinitely expanding generics, we can go back to comparing signatures using contextual signature instantiation. For example: var f: (s: string) => number; var g:
Open Graph Description: Now that we have a heuristic algorithm for infinitely expanding generics, we can go back to comparing signatures using contextual signature instantiation. For example: var f: (s: string) => number;...
X Description: Now that we have a heuristic algorithm for infinitely expanding generics, we can go back to comparing signatures using contextual signature instantiation. For example: var f: (s: string) => numb...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/138
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use contextual signature instantiation to compare signatures","articleBody":"Now that we have a heuristic algorithm for infinitely expanding generics, we can go back to comparing signatures using contextual signature instantiation. For example:\n\n``` TS\nvar f: (s: string) => number;\nvar g: \u003cT>(s: T) => T;\nf = g;\ng = f;\n```\n\nBoth of these should ideally fail. The reason we could not do this earlier was because we could not detect infinitely expanding generics properly. But the current algorithm would prevent us from blowing up in the cases where the previous algorithm failed.\n","author":{"url":"https://github.com/JsonFreeman","@type":"Person","name":"JsonFreeman"},"datePublished":"2014-07-18T00:09:45Z","url":"https://github.com/microsoft/TypeScript/issues/138"}
| 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:3f005c4f-4bcf-0bcb-8914-c7f5352b14ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ED60:33D24F:C3FFA:101D3A:6B00C6C7 |
| html-safe-nonce | f7ce0e4a8862a661ccb9e0d3023ff2f6c690affcaa000a728033bc3c8949a587 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDYwOjMzRDI0RjpDM0ZGQToxMDFEM0E6NkIwMEM2QzciLCJ2aXNpdG9yX2lkIjoiMTg4MjI5MTY2NzE5NzgwNjI3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4863d326fa25bbba1007735307f19242219ccc42eea64e2dc5626d44aa82fc10 |
| hovercard-subject-tag | issue:38138195 |
| 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/138/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c961dd86fc8087db452b068c46b54ee5131daad56e33c8faf4657ef13d7b9aa9/microsoft/TypeScript/issues/138 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c961dd86fc8087db452b068c46b54ee5131daad56e33c8faf4657ef13d7b9aa9/microsoft/TypeScript/issues/138 |
| og:image:alt | Now that we have a heuristic algorithm for infinitely expanding generics, we can go back to comparing signatures using contextual signature instantiation. For example: var f: (s: string) => number;... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JsonFreeman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| 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 | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width