-
Notifications
You must be signed in to change notification settings - Fork 842
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
stack ghci at global level missing base #3589
Comments
I think this is affecting intero as well, which recently stopped working for me. CC @mgsloan |
Fixed in 196bdba thanks for the report @MarcelineVQ ! |
I did Here is how you can reproduce: stack.yaml:
nobase-bug.cabal:
src/Main.hs:
Then run |
@effectfully Are you sure that the stack binary written by |
@mgsloan, I checked it before reporting. Here is the output of
|
Huh! For me NoImplicitPrelude works with ghci 8.0.2 . I don't suppose You might try switching to lts-10 (ghc 8.2). I can't find it now but IIRC there was a bug in ghc's tracker about NoImplicitPrelude + ghci. There is still a bug there for ghci + -XSafe |
The funny thing is that if you comment out |
Sounds like |
@snoyberg, the errors would be different then:
|
When I start I'm currently using |
Sure. What do you get for What do you get for |
I get
for
Here is the full output. I started to use |
I've checked, it works. Thank you. |
Welcome! Thanks for verifying |
Something recent, possibly the 5b58500 commit, is causing errors such as:
When
stack ghci
is ran outside of any project's scope. These are resolved by specifyingstack ghci --package base
The text was updated successfully, but these errors were encountered: