-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
GHCi: Handle ambiguous targets #36
Comments
Can we just fully qualify the file to fix this? |
I can't reproduce this the straightforward way it seems, is this already fixed? |
For me, the issue occurs when I'm in a cabal project that has separate test suites (e.g.
(this snippet isn't a realistic example - in practise you would have different Fully qualifying the file name doesn't solve the issue, unfortunately. This is probably a rare occurrence (I happen to work with some projects that have this issue), so I'm treating it with low priority for now. |
In the original error it says:
which seems like it is two packages within the same Cabal project. Is that accurate? Your latest comment seems to suggest a different situation. |
Is it valid to have two test suites in the same package that not only share the |
It is two different test suites in the same cabal package that share the same source directory. |
Probably not. But |
This may be feasible to fix with the cabal and stack package file parsing logic added in #180. |
e.g.,
Originally posted by @mrcjkb in #13 (comment)
The text was updated successfully, but these errors were encountered: