Files
mercury/tests/invalid/ho_unique_error.err_exp
Zoltan Somogyi 3dc4babb24 Update the style of more test cases.
And update expected output files for changes in line numbers.
2021-07-27 13:29:46 +10:00

15 lines
900 B
Plaintext

ho_unique_error.m:011: In `call_ho'(di, uo):
ho_unique_error.m:011: error: invalid determinism for a predicate with I/O
ho_unique_error.m:011: state arguments.
ho_unique_error.m:016: In clause for `call_ho(di, uo)':
ho_unique_error.m:016: in argument 3 (i.e. argument 2 of the called
ho_unique_error.m:016: predicate) of higher-order predicate call:
ho_unique_error.m:016: mode error: variable `STATE_VARIABLE_IO_0' has
ho_unique_error.m:016: instantiatedness `mostly_unique',
ho_unique_error.m:016: expected instantiatedness was `unique'.
ho_unique_error.m:016: This kind of uniqueness mismatch is usually caused by
ho_unique_error.m:016: doing input/output or some other kind of destructive
ho_unique_error.m:016: update in a context where it can be backtracked over,
ho_unique_error.m:016: such as the condition of an if-then-else.
For more information, recompile with `-E'.