lezer-parser/javascript

Possibly grammar error with TemplateString

Closed this issue · 2 comments

const r = RegExp(`^-{${n},}$`, 'm')
does not get properly parsed.
I am using lezer 1.4.10.

Can you be more specific than 'does not get properly parsed'? The syntax tree I get for that looks fine.

You are right. I had preprocessed the string inadverdently.