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
{{ message }}
Repository navigation
Declaration of an object with an empty key breaks language server. #299
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.
This is becuase server is failing to parse the error message.
about empty object keys,
they are not supported at the moment so we should either make parser to disallow them or make the compiler support them, I think since the object access syntax is updated (x[""]) we can make the compiler to allow them.
about the crash,
I think this is happening because the compiler log parser is throwing we should make that more resilient
Activity
alarbada commentedon Aug 30, 2021
Related to rescript-lang/rescript#3494
amiralies commentedon Aug 31, 2021
This is becuase server is failing to parse the error message.
about empty object keys,
they are not supported at the moment so we should either make parser to disallow them or make the compiler support them, I think since the object access syntax is updated (
x[""]) we can make the compiler to allow them.about the crash,
I think this is happening because the compiler log parser is throwing we should make that more resilient
zth commentedon May 5, 2022
I cannot reproduce this as of now, so considering this solved. Feel free to reopen if not.