-
Notifications
You must be signed in to change notification settings - Fork 841
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 foo:test:bar uses library dependencies unless --test is passed #1845
Comments
Does I don't think there's any logic currently that has |
It works, I wasn't aware that syntax was allowed outside of |
Yes, |
@bergmark This is now fixed! |
Thanks Michael! |
stack: Version 1.0.4 x86_64
This took me a while to figure out because the error message isn't clear, it turns out that you need to pass
--test
when ghci'ing a test suite, otherwise the library dependencies will be in scope instead.Edit: I would expect
--main-is *:test:*
to either imply--test
or produce an error message without it, the former sounds nicer to me.The text was updated successfully, but these errors were encountered: