Commit Graph

1 Commits

Author SHA1 Message Date
Zoltan Somogyi
f1be23e6ce Fix Mantis bug 429.
compiler/hlds_goal.m:
    Add a new goal feature that marks a goal as having been lifted out of
    a disjunction or switch by cse_detection.m.

compiler/cse_detection.m:
    Add this feature to the deconstruction unifications lifted out by cse.

compiler/det_report.m:
    When expecting the subgoal of a require_complete_switch or
    require_switch_arms_detism scope to be a switch, allow the subgoal
    to be a conjunction of lifted-out goals followed by the switch.

    Improve the wording of an unrelated error message.

compiler/saved_vars.m:
    Conform to the change to hlds_goal.m.

tests/valid/bug429.m:
    A commented version of the Mantis bug 429 test case.

tests/valid/Mmakefile:
    Enable the new test case.
2017-01-20 00:28:19 +11:00