Skip to content

Declaration of an object with an empty key breaks language server. #299

@alarbada

Description

@alarbada

The following code:

let test = {
  "": "dasfadsf",
}

Apparently breaks the language server if I save the file multiple times, as this vscode message says:
The ReScript Language Server server crashed 5 times in the last 3 minutes. The server will not be restarted.

Is this expected? I have autosave activated with 200ms of margin, so the errors appear automatically in my screen. I believe this syntax shouldn't break the plugin.

rescript vscode version: 1.1.3
rescript version: 9.1.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions