jaredly / jaredly/reason-language-server
Type annotations are ignorred when module contains error
Open
- Dominant language
- OCaml
- Stars
- 649
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
E.g.
```reason
let foo = (arg: array(Foo.t)) => ... some error here ...
/* ^ */
/* hover, cmd+click etc don't work */
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Reason example in a language-server client with a module-level error, then inspect how the server handles the type annotation near the error. Confirm the fix by checking that hover and cmd-click work for the annotation while the surrounding module still contains an error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100