Closed aryairani closed 4 years ago
$ stack --version
Version 2.1.3 x86_64
Thanks for reporting! I will take a look soon.
I just noticed a simpler example โย even within Branch.hs
, from a reference Raw
(defined in this same file), it jumps to the Raw
in Causal.hs
.
It's a bug in ghci:
21:14 [project-stack-repl-unison-parser-typechecker:lib] Command :loc-at /home/rik/projects/unison/parser-typechecker/src/Unison/Codebase/Branch.hs 202 12 202 14 Raw took + 3 ms
21:14 [project-stack-repl-unison-parser-typechecker:lib] stdout: /home/rik/projects/unison/parser-typechecker/src/Unison/Codebase/Causal.hs:(97,1)-(100,33)
About your first case:
Branch
and do ctrl-b it jumps to Branch
qualifier at line 73. That's okay;sync
;Yeah. When it's on sync
and ctrl-b and it doesn't work, sometimes I go back, try again on Branch
, it takes me to the qualified, then I go to the module name, and ctrl-b again to open Branch.hs
, and then search for sync
:(
Ok, at least the issue with Raw
is explained.
@aryairani Can you check beta64?
@rikvdkleij I didn't do a fully clean install like when I opened the ticket (please advise), but it looks like the same issue in the initial message occurs for me in beta64.
@aryairani I couldn't reproduce the issue with sync
on master so that's why I asked you to check it. Maybe it helps to invalidate the IntelliJ cache.
"Invalidate + Restart" didn't help me, but I'm trying now with a new project (waiting for it to build).
@aryairani O sorry, I can reproduce your issue with Branch.sync
I will take a look.
Ok great ๐
I have found solutions for both cases, so also for the ghci bug, but need some to test those. Also found other cases which can be improved.
๐ป
Not sure if this is the same or different, but I have been bumping into this:
$ git clone --recursive https://github.com/unisonweb/unison && \
git -C unison checkout --recurse-submodules 9b30c712
from UnisonFile.hs:160:70
I try to jump to Term.dependencies
, but am jumped to DataDeclaration.dependencies
instead. ๐
Thanks! That's another case...
Should I create a separate ticket for this, or is it okay to keep adding them here?
A separate ticket is not needed.
Should be fixed in beta65
@aryairani Can this one be closed?
Please reopen if still an issue.
With beta63
unison/
, and openFileCodebase.hs:345
Branch.sync
and then Navigate -> Goto (Cmd+B)Branch.hs:477
, but it opensCausal.hs:134
by mistake.It seems like a regression to be honest, unless something else has changed.
Thanks in advance :)