Title: Indentation failure with unclosed JSX element · Issue #6281 · microsoft/TypeScript · GitHub
Open Graph Title: Indentation failure with unclosed JSX element · Issue #6281 · microsoft/TypeScript
X Title: Indentation failure with unclosed JSX element · Issue #6281 · microsoft/TypeScript
Description: var x =
Open Graph Description: var x =
X Description: var x = <div> <input type="text" name="name"> </div> namespace foo { /**/ Press enter at /**/. Description: getIndentationAtPosition('C:\Users\drosen\AppDa...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/6281
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Indentation failure with unclosed JSX element","articleBody":"``` ts\nvar x =\n \u003cdiv>\n \u003cinput type=\"text\" name=\"name\">\n \u003c/div>\n\nnamespace foo {\n/**/\n```\n\nPress enter at `/**/`.\n\n```\nDescription:\n\ngetIndentationAtPosition('C:\\Users\\drosen\\AppData\\Local\\Temp\\~vs8E0D.tsx', 94)\n\nStackTrace:\n\nError: Debug Failure. False expression: \n at assert (:1645:17)\n at find (:41847:13)\n at find (:41843:25)\n at find (:41843:25)\n at find (:41843:25)\n at find (:41843:25)\n at find (:41843:25)\n at find (:41843:25)\n at find (:41843:25)\n at find (:41843:25)\n at findPrecedingToken (:41808:9)\n at getIndentation (:44508:17)\n at getIndentationAtPosition (:50435:13)\n at Anonymous function (:52193:17)\n at simpleForwardCall (:51951:9)\n at forwardJSONCall (:51967:13)\n at forwardJSONCall (:52013:13)\n at getIndentationAtPosition (:52191:13)\n```\n","author":{"url":"https://github.com/DanielRosenwasser","@type":"Person","name":"DanielRosenwasser"},"datePublished":"2015-12-29T06:39:06Z","url":"https://github.com/microsoft/TypeScript/issues/6281"}
| 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:6c4deea9-e3db-5fc9-ea45-5ace6927c41f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E070:38C5CF:54804E:6F00CB:6B00CB85 |
| html-safe-nonce | 23f00f2216782566cd42235d120b2a527150850dbfc6bdccd3ca95e9189dc043 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDcwOjM4QzVDRjo1NDgwNEU6NkYwMENCOjZCMDBDQjg1IiwidmlzaXRvcl9pZCI6IjE0NTEyMjI4NjM2MDMzNTQ1MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 17efb7e6b3f9504d2cd8eb68b79408b54faa9136157d0fa246673cc7d9603158 |
| hovercard-subject-tag | issue:124170956 |
| 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/6281/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3a662b8835195b56faa25eb7d063fb0ef5ccdb8d4bf370b8fc79d91f22b351c1/microsoft/TypeScript/issues/6281 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a662b8835195b56faa25eb7d063fb0ef5ccdb8d4bf370b8fc79d91f22b351c1/microsoft/TypeScript/issues/6281 |
| og:image:alt | var x = |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DanielRosenwasser |
| 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