mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
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.
11 lines
568 B
Plaintext
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.
|