Opening an OCaml project before having dependencies in .merlin file keeps giving errors even after adding the dependency
See original GitHub issueHow to reproduce:
- Open an OCaml project that has a file that imports any module (for example core
open Core
) - The project should have no .merlin file or has the file but the .merlin file doesn’t have
PKG core
at the time of opening it - Add PKG core to the .merlin file
- The error keeps printing to the console with every edit to the document until restarting VSCode
The error messages: (the first one keeps repeating with edits - also they don’t show what’s wrong)
(node:65198) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: <unreachable>: error
(node:65198) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to get merlin to do a good job on project dependencies ...
My question is how to I get merlin to reliably work with with source code of project dependencies? Ideally they should point to...
Read more >Merlin complains about a missing module in the same project
I am new to Ocaml and just setting up my dev environment with emacs, merlin and flycheck. Everything works more or less expected...
Read more >load project error · Issue #56 · reasonml-editor/vscode ...
I ran across this issue in OCaml. It manifests as the extension remaining as "loading" perpetually. I didn't have merlin installed, so I ......
Read more >Dune Documentation - Read the Docs
When using Dune, you give very little, high-level information to the ... you have Dune, opam, and OCaml installed, but you get an...
Read more >Developer Manual - Frama-C
2.4.9 Getting your plug-in Usable in a Multi Projects Setting . ... and the generated .merlin file will be automatically used when opening...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed now that the merlin auto-refresh functionality is enabled.
@jchavarri Mac Sierra