Closed Gnarus-G closed 3 months ago
So. The fact that empty ${}
in template strings disappear through the lexer is fine, because `${}`
and ""
(an empty string) are equivalent.
Will refactor the template literal parsing after all. We lose too much information. `${"asdfasdf"}`
!= `"asdfasdf"`
yet the formatter can only assume otherwise because the lexer is too dumb.
accidentally merged #42