Microsoft/TypeScript
Voir sur GitHubDebug Failure. Did not expect ObjectLiteralExpression to have an Identifier in its trivia
Open
#58 027 ouverte le 1 avr. 2024
BugDomain: CrashesHelp Wanted
Métriques du dépôt
- Stars
- (48 455 stars)
- Métriques de merge PR
- (Merge moyen 6j 17h) (9 PRs mergées en 30 j)
Description
🔎 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