rescript-lang / rescript-lang/rescript-vscode
Support autocomplete for recursive modules
Open
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
rescript: v10.0.1
rescript-vscode: latest-master
module type X = {
let x: unit => int
let y: unit => int
}
module rec ModE: X = {
let x = () => 1
let y = () => ModF.y() + 1
}
and ModF: X = {
let x = () => ModE.x() + 2
let y = () => 2
}

Contributor guide
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
No source file or test is named. Reproduce the supplied recursive-module example in the ReScript VSCode extension and inspect the autocomplete or language-server entry point that handles module members. Done means autocomplete exposes the expected members for both recursive modules without regressions in existing autocomplete behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100