microsoft / TypeScript-TmLanguage

TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
MIT License
415 stars 130 forks source link

for-of/in loop without space detected as meta.var.expr instead of keyword #1025

Open j4k0xb opened 8 months ago

j4k0xb commented 8 months ago

JavaScript and TypeScript Nightly version: v5.5.20240327

Code

for (let x of[1]) {}
for (let x of(y)) {}
for (let x in[1]) {}

image

expected: image