Skip to content

Lazy syntax shows error in vscode #1060

Open
@htoooth

Description

@htoooth
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions