Files
mercury/tests/invalid/uniq_mutable.err_exp
Zoltan Somogyi 4536d4271a Further improve error messages for bad insts in mutables.
compiler/add_mutable_aux_preds.m:
    Special case the error message for the insts "dead" and "mostly_dead",
    as requested by Julien.

    Make the wording of the error messages for different non-allowed insts
    more consistent.

tests/invalid/bad_mutable.err_exp:
tests/invalid/user_mutable.err_exp:
    Expect the updated error messages.
2015-11-16 22:41:49 +11:00

11 lines
568 B
Plaintext

uniq_mutable.m:021: Error: the inst `unique' may not appear in `:- mutable'
uniq_mutable.m:021: declarations.
uniq_mutable.m:022: Error: the inst `mostly_unique' may not appear in
uniq_mutable.m:022: `:- mutable' declarations.
uniq_mutable.m:023: Error: the inst `free' may not appear in `:- mutable'
uniq_mutable.m:023: declarations.
uniq_mutable.m:024: Error: the inst `dead' may not appear in `:- mutable'
uniq_mutable.m:024: declarations.
uniq_mutable.m:025: Error: the inst `mostly_dead' may not appear in
uniq_mutable.m:025: `:- mutable' declarations.