Closed lolgab closed 2 years ago
This should actually not parse. You discovered a bug (lampepfl/dotty#13951).
The red coloring is expected as it is syntactically assumed to be an illegal Char
. See https://github.com/scala/vscode-scala-syntax/blob/main/src/typescript/Scala.tmLanguage.ts#L859-L864
Quoted code with spaces between the
'
symbol and the{
open brace, while being parsed correctly by the Scala compiler, are not parsed by vscode-scala-syntax, creating a all red coloring in VSCode and Github: