rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

Lazy syntax shows error in vscode

Open htoooth opened this issue 1 year ago • 0 comments

let a = lazy({})

// format to 
let a = lazy {}

// and 

let lazy(b) = a

// format to 
let lazy b = a

But the current syntax check in vscode considers the formatted syntax to be incorrect syntax. image

And

image

htoooth avatar Dec 06 '24 15:12 htoooth