Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merlin can't locate definition or signature of containers functions #80

Closed
nilsbecker opened this issue Oct 19, 2016 · 3 comments
Closed
Assignees
Labels

Comments

@nilsbecker
Copy link
Contributor

if i try MerlinLocate on e.g. Containers.List.random_choose i get 'CCList.random_choose' seems to originate from 'CCList' whose ML file could not be found. it would be great if this could get me to the function definition or signature to find the doc string. as it is i always have to navigate to the containers docs on the internet to have access to documentation. this may also be a merlin shortcoming, i'm not sure!

@c-cube
Copy link
Owner

c-cube commented Oct 19, 2016

I will investigate, indeed, I miss this too but never paid too much attention. Thanks.

@c-cube c-cube added the bug label Oct 19, 2016
@c-cube c-cube self-assigned this Oct 19, 2016
@c-cube
Copy link
Owner

c-cube commented Oct 19, 2016

I asked the merlin gurus, and apparently it's because the .cmt files are installed, so merlin (by default) tries to jump to the actual definition, looks for the corresponding .ml file (which does not exist), and fails, even though the .mli is present. I will see if I can get oasis not to install the .cmt.

@c-cube
Copy link
Owner

c-cube commented Oct 24, 2016

Well it's really a problem in merlin (cannot fallback on .mli if it cannot find the .ml) OR in oasis (which installs .cmt without .ml), so I can't do much, sorry.

@c-cube c-cube closed this as completed Oct 24, 2016
@c-cube c-cube added invalid and removed bug labels Oct 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants