rescript-lang / rescript-lang/rescript-vscode
No type hint for the module created by functor in function body.
Nobody has claimed this yet.
- Dominant language
- ReScript
- Stars
- 354
- Forks
- 63
- Avg merge
- 11h 29m
- Merged PRs (30d)
- 1
Description
rescript version: 10.1.3
rescript-vscode version: 1.16.0
system version: ubuntu 22.04(wsl) x64
I need to create some private and temporary module in function body, and found that there is no type hint on the module created by functor if it is created in the function body. See the recorded gif below:

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
Start with the recorded GIF and reproduce the missing type hint using ReScript 10.1.3, rescript-vscode 1.16.0, and Ubuntu 22.04 under WSL. Inspect the VSCode plugin's handling of modules created by functors inside function bodies; done means the created module receives a type hint in that context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100