-
Notifications
You must be signed in to change notification settings - Fork 17
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
Package for import is guessed incorrectly #90
Comments
One of them with the failing parts commented out. See #90.
I've verified the problem is unrelated to #88 and very minor. I've pushed tests that confirm that. I'm suspending the work on this issue until further orders. 18:45 < mikolaj> from http://www.haskell.org/ghc/docs/7.4.2/html/users_guide/packages.html#package-overlaps |
[18:46] but I am surprised that the test fails, since defOpts includes -hide-all-packages, so Foo from gitlib-cross should not be visible |
12:50 < mikolaj> so I added -hide-all-packages to the test |
This is due to a TODO in ghc itself; see #95 (comment) for details. (And this is still a TODO in ghc 7.8, incidentally.) |
It seems that if an import is for a module which is available both in the home package and in a package installed in the system, we might construct the wrong IdInfo (the ghc-error test for issue #88 fails for this reason when the gitlib-cross package is installed, because it exports module "Foo").
The text was updated successfully, but these errors were encountered: