Dmitry Zakharov
Dmitry Zakharov
I don't know much about the semantic highlighting. I'll investigate.
The same goes for arrays and other built-in modules
[Sample of rescript-editor-analysis.exe.txt](https://github.com/rescript-lang/rescript-vscode/files/11370992/Sample.of.rescript-editor-analysis.exe.txt) What's interesting the VSCode was closed at the moment.
> Thanks, that shows where the problem is located at least. Still, would be preferable with a reproduction case. 1. Work on rescript-struct 2. Close vscode 3. Go to sleep...
I'll try this next time. I accordantly killed the process while I was installing `htop` on my computer π
I managed to make it work using `@@uncurried.swap` ```rescript // Api.res type gqlResponse = { data: option, errors: option, } %%private( @module("./api/fetchBackoffice.ts") external fetch: (~query: string, ~variables: 'variables) => Promise.t...
Well, probably it's a difficult fix, since it'll require treating unknown records as valid types
Should it be somehow marked as a ReScript exception?
Ah, I see there's a discussion exactly about this in the Melange PR https://github.com/melange-re/melange/pull/1036#issuecomment-1917749133
Also, I think for the library mode there should be some sort of an idiomatic suffix (or default one), so all libraries use the same one to allow depending on...