Open thufschmitt opened 1 week ago
I looked into this a little. The issue is that when converting from UniRecord
to RichTerm
the duplicate fields are merged. So by the time nls gets its hands on the AST, it only sees one of the foo
s as a field definition. I think to solve this, nls would need to get its hands on the UniTerm AST.
Describe the bug
In the LSP, hovering over a record field will show some information on that field if there's any:
However, if the field is defined more than once, only the first one will get a useful information on hover:
To Reproduce
On the following file:
Hover on the second
foo
Expected behavior
Both instances of the field should display the full information on hover
Environment
Additional context