Microsoft/TypeScript
GitHub ã§èŠãDebug Failure. Did not expect ObjectLiteralExpression to have an Identifier in its trivia
Open
#58,027 opened on 2024幎4æ1æ¥
BugDomain: CrashesHelp Wanted
Repository metrics
- Stars
- Â (48,455 stars)
- PR merge metrics
-  (å¹³åããŒãž 6d 17h) (30d ã§ 9 merged PRs)
説æ
ð Search Terms
identifier unicode es5 es2015 trivia object literal expression failure
ð Version & Regression Information
- This is a crash
- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⯠Playground Link
ð» Code
// @target: es5
var G = { ð: "𝔄" };
ð Actual behavior
TS server crashes when hovering over this property
ð Expected behavior
it shouldn't crash
Additional information about the issue
repro based on https://github.com/microsoft/TypeScript/issues/58018#issuecomment-2028929069