Skip to content

Do an early check for unbuildable deps, and give good error. - #4023

Merged
BardurArantsson merged 1 commit into
haskell:masterfrom
ezyang:pr/T3978
Oct 22, 2016
Merged

BardurArantsson merged 1 commit into
haskell:masterfrom
ezyang:pr/T3978

Conversation

@ezyang

@ezyang ezyang commented Oct 22, 2016

Copy link
Copy Markdown
Contributor

When a library/executable is unbuildable, the solver may still
return a reference to it. Handle this gracefully in ProjectPlanning
with a nice error message, rather than an assert failure.

Fixes #3978.

Signed-off-by: Edward Z. Yang [email protected]

@mention-bot

Copy link
Copy Markdown

@ezyang, thanks for your PR! By analyzing the history of the files in this pull request, we identified @dcoutts, @GrayJay and @23Skidoo to be potential reviewers.

@ezyang
ezyang force-pushed the pr/T3978 branch 2 times, most recently from 58d194e to e80207c Compare October 22, 2016 04:06
When a library/executable is unbuildable, the solver may still
return a reference to it.  Handle this gracefully in ProjectPlanning
with a nice error message, rather than an assert failure.

Fixes haskell#3978.

Signed-off-by: Edward Z. Yang <[email protected]>

@dcoutts dcoutts left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BardurArantsson
BardurArantsson merged commit 325d363 into haskell:master Oct 22, 2016
@BardurArantsson

BardurArantsson commented Oct 22, 2016 •

Copy link
Copy Markdown
Collaborator

LGTM. Took the liberty of just merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants