DanielGavin/ols

[vscode, syntax highlighting]: Unexpected highlighting for ternary expression

Closed this issue · 1 comments

For this sample test() proc, syntax highlighting seems to treat b as a type (green) rather than as a value (blue, like a):

test :: proc() -> int {
	a, b := 2, 3
	c := a % 2 == 0 ? a : b
	return c
}

Is this expected?

image

danielgavin.ols@v0.1.30

I have updated the extension. It should be fixed now.
@thetarnav Had fixed it a while ago, I just forgot to update the extension.