Skip to content

Commit

Permalink
treat packages that are unknown no longer as an "internal error" in m…
Browse files Browse the repository at this point in the history
…odular solver
  • Loading branch information
kosmikus committed Apr 16, 2012
1 parent 465f108 commit 368430f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ showFR _ (GlobalConstraintVersion vr) = " (global constraint requires " ++ dis
showFR _ GlobalConstraintInstalled = " (global constraint requires installed instance)"
showFR _ GlobalConstraintSource = " (global constraint requires source instance)"
showFR _ GlobalConstraintFlag = " (global constraint requires opposite flag selection)"
showFR _ (BuildFailureNotInIndex pn) = " (unknown package: " ++ display pn ++ ")"
showFR c Backjump = " (backjumping, conflict set: " ++ showCS c ++ ")"
-- The following are internal failures. They should not occur. In the
-- interest of not crashing unnecessarily, we still just print an error
-- message though.
showFR _ (BuildFailureNotInIndex pn) = " (BUILD FAILURE: NOT IN INDEX: " ++ display pn ++ ")"
showFR _ (MalformedFlagChoice qfn) = " (INTERNAL ERROR: MALFORMED FLAG CHOICE: " ++ showQFN qfn ++ ")"
showFR _ (MalformedStanzaChoice qsn) = " (INTERNAL ERROR: MALFORMED STANZA CHOICE: " ++ showQSN qsn ++ ")"
showFR _ EmptyGoalChoice = " (INTERNAL ERROR: EMPTY GOAL CHOICE)"

0 comments on commit 368430f

Please sign in to comment.