-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Unexpected import (implicit) Prelude
code lens
#2798
Comments
Thank you for the bug report! Moving to HLS repo where this feature is implemented |
Any extra information on this? HLS version? GHC version? Project details (are you using some non-standard setup)? I tried to repro with a simple file but didn't see anything. |
Sorry, I edited the issue to include the GHC and HLS versions. There is no non-standard setup, just a simple default setup (generated by |
Looks like this just affects GHC 9.2.* |
Hey, I could also reproduce it and I believe to have found the culprit. I believe it is the function
This map uses the source location as key and only allows a single value and not a value list. The |
Example
I'm not sure if the
import (implicit) Prelude
code lens itself supposed to be a feature or not, but the import code lens for the module isn't shown. When a newline is added before, this doesn't occur:GHC version: 9.2.2
HLS version: 1.7.0.0
The text was updated successfully, but these errors were encountered: