Files
mercury/tests/invalid/require_det_in_lambda.err_exp
Zoltan Somogyi f564e463b4 Print the causes of unmet determinism requirements.
compiler/det_report.m:
    When a scope that requires a goal to have a certain determinism doesn't,
    don't just print a message saying there is a mismatch between the actual
    and required determinisms; also print the cause of that mismatch.

    Fix a case error in an error message.

tests/invalid/det_atomic_goal_msgs.err_exp:
tests/invalid/magicbox.err_exp:
tests/invalid/require_det_in_lambda.err_exp:
tests/invalid/require_scopes.err_exp:
    Expect the compiler's newly expanded and fixed output.
2015-03-12 03:28:49 +11:00

4 lines
200 B
Plaintext

require_det_in_lambda.m:017: Error: required determinism is `det', but actual
require_det_in_lambda.m:017: determinism is `semidet'.
require_det_in_lambda.m:018: Call to `int.<'(in, in) can fail.