-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Package versions in API dump? Is this the intended behaviour? #14
Comments
To answer your last sentence, I imagine it's because |
This certainly makes me think about using a different backend for the interface dump. Thanks for reporting this. |
How about this: hide the unit-id by default and show it only when there are multiple instances of a same package name (or requested by the user with a flag perhaps). It requires a bit logic but nothing compared to what you have already done. |
Yes that could work. :) |
@andreabedini you reckon you could come up with a prototype PR for this? |
Part of this is a wart in ghc/ghc-api: if names are directly imported (including the default import of |
Yes, as soon as I have some free time :-) |
Guess this is to avoid some ambiguities of symbols, but for some identifier I get packages with versions in my API dump.
E.g.
Or the same with
aeson
:But his just creates noise if the
aeson
/bytestring
version changes, and also it feels inconsistent - e.g.Either
orInt
are not "package-prefixed".The text was updated successfully, but these errors were encountered: