-
-
Notifications
You must be signed in to change notification settings - Fork 389
Go-to definition jumps to hs-boot files #790
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Agreed - jumping to hs-boot files doesn't seem like the right thing to do in most cases. |
I've not observed this nowadays, is it still an issue? |
I'm observing this a lot in GHC's code base. Any reference to Edit: Although I'm on an old ghcide, I suppose. My HLS-wrappr says v0.5.0.0. I could try upgrading if you want me to. |
haskell/ghcide#898 will fix this |
I just checked on HLS at 6b0740c, go to definition for |
False alarm, I flushed |
the pull request in this repo is: #704 |
I suspect it will come back on a boot with a primed cache since we will load the locations from |
Ok, so I must just kill the cache on startup :) |
You can also use my branch :) |
If an identifier is defined in a hs-boot file then jumping to the definition will jump into the hs-boot file.
Technically, this is where the definition is, but really it would be better to jump to the definition in
the source file I think.
The text was updated successfully, but these errors were encountered: