jaredly / jaredly/reason-language-server
BS 7.2.0 + RLS 1.7.7: Belt_Option not found
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 649
- Forks
- 85
- PR merge metrics
- No merged PRs in 30d
Description
I have tested BS 7.2.0 + RLS 1.7.7 in two different projects. In both projects, in any file that uses Belt.Option, I got the following error message at the first line of the file:
```
File "/node_modules/.lsp/.ast", line 1:
Error: Belt_Option not found, it means either the module does not exist or it is a namespace
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the error in a project using BS 7.2.0 and RLS 1.7.7 with a file that references Belt.Option. Start by examining the generated node_modules/.lsp/.ast file and the language-server module lookup; done means Belt.Option no longer reports “Belt_Option not found” in both reported projects.
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
- 25/100