jordwalke / jordwalke/VimBox

Merlin error when opening .ml file

Open
#70 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
910
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Steps to reproduce:

```
git clone https://github.com/esy-ocaml/hello-reason.git
cd hello-reason
touch lib/A.ml
esy mvim lib/A.ml
```

Output:
```
"lib/A.ml" 0L, 0C
(merlin) backtrace:
Error detected while processing function merlin#Register[117]..merlin#LoadProject:
line 2:
Traceback (most recent call last):
File "", line 1, in
File "/Users/x/code/VimBox/dotVim/bundle/vim-reason/autoload/merlin.py", line 740, in setup_merlin
failures = command("project","get")
File "/Users/x/code/VimBox/dotVim/bundle/vim-reason/autoload/merlin.py", line 201, in command
return merlin_process().command(context(cmd))
File "/Users/x/code/VimBox/dotVim/bundle/vim-reason/autoload/merlin.py", line 170, in command
raise MerlinException(value)
merlin.MerlinException: 'File "src/kernel/mocaml.ml", line 29, characters 2-8: Assertion failed'
Press ENTER or type command to continue
```

I'm not sure if the error is with VimBox specifically.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure with the hello-reason clone and the listed esy mvim command. Start in autoload/merlin.py at setup_merlin and command, then inspect src/kernel/mocaml.ml around line 29 to determine whether VimBox or Merlin triggers the assertion. Done means the source of the failure is identified and a verified resolution or clear project-side diagnosis is recorded.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml, vim
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.