You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am adding this issue just for tracking. This is a bug that I have shown to Thomas a few times.
One can ask merlin to auto-complete something following which if one were to ask merlin to jump to the location of the completed thing, it is unable to do so. It is unclear why it is unable to do that.
Have some debug information or error message such that one is able to do that. One approach to doing this is to have better debug information printed out into the debug file when MERLIN_LOG is enabled.
The text was updated successfully, but these errors were encountered:
Ok so, just to react on that so that people unfamiliar with the context are mislead : completion in merlin works using cmi files, whereas the locate command requires cmt files. So it might be the case that completion works but locate doesn't without necessarily meaning there is a bug.
It is however the case here that it is a bug, since Roshan has its cmt files in the same place as his cmi files, so somewhere which seems to be in merlin's path, since completion is working.
So as roshan mentioned, since that kind of bug isn't easy to reproduce nor debug, I'll start by working on a logging system and see what information we can get out of that.
So, the logging thing finally found its way into master.
To debug only the locate command, you need to launch merlin with the flag -debug locate.<file path>
That can be done from emacs with M-x merlin-process-add-flag followed by M-x merlin-restart-process or can be put in your .merlin with the new "FLG" directive ( FLG -debug locate,<file path>).
Also, I found a bug yesterday which explains why merlin sometimes failed to locate some definitions.
You should definitely try the new master.
I am adding this issue just for tracking. This is a bug that I have shown to Thomas a few times.
One can ask merlin to auto-complete something following which if one were to ask merlin to jump to the location of the completed thing, it is unable to do so. It is unclear why it is unable to do that.
Have some debug information or error message such that one is able to do that. One approach to doing this is to have better debug information printed out into the debug file when MERLIN_LOG is enabled.
The text was updated successfully, but these errors were encountered: