Title: Debug.fail hit in bindThisPropertyAssignment · Issue #22888 · microsoft/TypeScript · GitHub
Open Graph Title: Debug.fail hit in bindThisPropertyAssignment · Issue #22888 · microsoft/TypeScript
X Title: Debug.fail hit in bindThisPropertyAssignment · Issue #22888 · microsoft/TypeScript
Description: Code a.js file this.a = 10; tsc a.js --allowJS Expected behavior: no failure Actual behavior: Error: Debug Failure. SourceFile at bindThisPropertyAssignment (c:\TypeScript\built\local\tsc.js:23135:30) at bindWorker (c:\TypeScript\built\l...
Open Graph Description: Code a.js file this.a = 10; tsc a.js --allowJS Expected behavior: no failure Actual behavior: Error: Debug Failure. SourceFile at bindThisPropertyAssignment (c:\TypeScript\built\local\tsc.js:23135:...
X Description: Code a.js file this.a = 10; tsc a.js --allowJS Expected behavior: no failure Actual behavior: Error: Debug Failure. SourceFile at bindThisPropertyAssignment (c:\TypeScript\built\local\tsc.js:23135:...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/22888
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Debug.fail hit in bindThisPropertyAssignment","articleBody":"**Code**\r\n\r\na.js file\r\n```ts\r\nthis.a = 10;\r\n```\r\n\r\ntsc a.js --allowJS\r\n\r\n**Expected behavior:**\r\nno failure\r\n**Actual behavior:**\r\n```\r\nError: Debug Failure. SourceFile\r\n at bindThisPropertyAssignment (c:\\TypeScript\\built\\local\\tsc.js:23135:30)\r\n at bindWorker (c:\\TypeScript\\built\\local\\tsc.js:22848:29)\r\n at bind (c:\\TypeScript\\built\\local\\tsc.js:22739:13)\r\n at visitNode (c:\\TypeScript\\built\\local\\tsc.js:14173:24)\r\n at Object.forEachChild (c:\\TypeScript\\built\\local\\tsc.js:14412:24)\r\n at bindEachChild (c:\\TypeScript\\built\\local\\tsc.js:21543:16)\r\n at bindChildrenWorker (c:\\TypeScript\\built\\local\\tsc.js:21644:21)\r\n at bindChildren (c:\\TypeScript\\built\\local\\tsc.js:21513:17)\r\n at bind (c:\\TypeScript\\built\\local\\tsc.js:22750:21)\r\n at c:\\TypeScript\\built\\local\\tsc.js:21519:94\r\n```\r\n\r\n\r\n**Related Issues:**\r\nReported in https://github.com/Microsoft/TypeScript/issues/21140#issuecomment-375833399","author":{"url":"https://github.com/sheetalkamat","@type":"Person","name":"sheetalkamat"},"datePublished":"2018-03-26T20:26:31Z","url":"https://github.com/microsoft/TypeScript/issues/22888"}
| 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:ec7952fa-a091-f9a9-0bee-9be7eb446c53 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C680:31D532:83B605:AE7904:6B01AF68 |
| html-safe-nonce | b23ae2190cad51f800a9eb61bc06bc751e1369b126567abbf798b60a0ebbce2a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjgwOjMxRDUzMjo4M0I2MDU6QUU3OTA0OjZCMDFBRjY4IiwidmlzaXRvcl9pZCI6IjIyNDU3NDA1NTcyMjM3MDIzNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5251a5d2fc1228f2c607641388026cfa8e0e78c89d291400bc21c9e8c4d3e656 |
| hovercard-subject-tag | issue:308722760 |
| 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/22888/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6d963a7ccdfb4aba2bdc3fadec03efe3d65efceefb23ff316d6ba40651382365/microsoft/TypeScript/issues/22888 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6d963a7ccdfb4aba2bdc3fadec03efe3d65efceefb23ff316d6ba40651382365/microsoft/TypeScript/issues/22888 |
| og:image:alt | Code a.js file this.a = 10; tsc a.js --allowJS Expected behavior: no failure Actual behavior: Error: Debug Failure. SourceFile at bindThisPropertyAssignment (c:\TypeScript\built\local\tsc.js:23135:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sheetalkamat |
| 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