Files
mercury/tests/term/select.trans_opt_exp2
Zoltan Somogyi 8f5e4abd87 Fix some long-standing test failures in debug grades.
tests/term/append.trans_opt_exp2:
tests/term/occur.trans_opt_exp2:
tests/term/pl4_01.trans_opt_exp2:
tests/term/select.trans_opt_exp2:
tests/term/sum.trans_opt_exp2:
    Updated these expected outputs to expect arguments to be represented
    as e.g. "builtin.in" rather than "(builtin.in)". We stopped generating
    the parentheses in february.

compiler/term_constr_data.m:
compiler/term_constr_fixpoint.m:
compiler/term_constr_initial.m:
compiler/term_constr_main.m:
    Improve some comments that I read while trying to track down the actual
    cause of the issue.
2024-07-17 16:24:02 +02:00

6 lines
370 B
Plaintext

:- module select.
:- pragma termination_info(select.select(builtin.out, builtin.in, builtin.out), finite(-1, [no, no, yes, no]), cannot_loop).
:- pragma termination2_info(select.select(builtin.out, builtin.in, builtin.out), constraints([le([term(2, r(-1, 1))], r(-2, 1)), eq([term(1, r(1, 1)), term(2, r(-1, 1)), term(3, r(1, 1))], r(-2, 1))]), not_set, cannot_loop).