jaredly / jaredly/reason-language-server
Inline Records show ...printing not supported...
- Dominant language
- OCaml
- Stars
- 649
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
Hi and thanks so much for your work!!!
When using inline records on a variant type I see "printing not supported"

```ts
type variant =
| First(string, int)
| Second({str: string});
let parse = variant =>
switch (variant) {
| First(str, int) => print_endline("first")
| Second({str}) => print_endline("second")
};
```
Do you think it can be worked out, or there is some sort of limitation that makes it not possible?
Contributor guide
No contributing guide indexed for this repository
Research direction
No repository file, test, or entry point is named. Reproduce the reported inline-record variant example and trace which language-server component emits "printing not supported"; done means the example prints correctly or the limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100