-
Notifications
You must be signed in to change notification settings - Fork 696
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
Fix #6835 (instantiating a Hackage indefinite package with an inplace package doesn't work) #7413
Conversation
Fixes the bug by accurately tracking when instantiations refer to inplace packages, and adjusting previously non-inplace packages to be inplace when this occurs. See comment in ProjectPlanning.hs for more details. Signed-off-by: Edward Z. Yang <[email protected]>
@danidiaz: would you like to review this PR? |
CI failures are because I forgot to remove some notice-level debug output |
Signed-off-by: Edward Z. Yang <[email protected]>
Now with package tests! |
Signed-off-by: Edward Z. Yang <[email protected]>
Repeating from IRC:
|
oh wow, merge requires TWO approving reviews, intruiging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't tell I understand all the subtleties here, but LGTM. Thanks a lot of the extensive notes and the test. :)
I don't see the entry though? @ezyang could you add one in another pr? |
And this is a bugfix so: @Mergifyio backport 3.6 |
Command
|
Oh do we do bugfixes in changelog? I'll try to remember to do this over the weekend |
Yeah, we do, thanks @ezyang! |
…m Hackage with an inplace package)
…m Hackage with an inplace package)
…m Hackage with an inplace package) (cherry picked from commit d3b6372)
…ack from Hackage with an inplace package)
…ack from Hackage with an inplace package)
…m Hackage with an inplace package) (cherry picked from commit d3b6372)
Fix #6835
Fixes the bug by accurately tracking when instantiations refer to
inplace packages, and adjusting previously non-inplace packages to be
inplace when this occurs. See comment in ProjectPlanning.hs for more
details.
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!
Also synthetic package tests