You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, while testing new C# syntax I've noticed that an example taken from official docs is wrongly highlighted. Only the second string is interpolated as shown in tree-sitter. The feature was introduced in c# 11 but I guess nobody has tested it in such case until today.
This is the example output when printing it. Notice that the code works fine with omnisharp so it's the parser error:
You are at {59.10, 59.10}
Interestingly moving the first interpolated string to newline fixes highlighting.
Here's the link to docs with the example which I've copied. And the detailed design with pseudo grammar or smth like that.
The text was updated successfully, but these errors were encountered:
Hi, while testing new C# syntax I've noticed that an example taken from official docs is wrongly highlighted. Only the second string is interpolated as shown in tree-sitter. The feature was introduced in c# 11 but I guess nobody has tested it in such case until today.
This is the example output when printing it. Notice that the code works fine with omnisharp so it's the parser error:
Interestingly moving the first interpolated string to newline fixes highlighting.
Here's the link to docs with the example which I've copied. And the detailed design with pseudo grammar or smth like that.
The text was updated successfully, but these errors were encountered: