mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 05:43:53 +00:00
tests/invalid/Mmakefile:
Renenable the undef_type test, which got accidentally disabled
in oct 2023.
Execute the trailed_mutable test in both trailing and non-trailing grades.
We used to enable it *only* in trailing grades, but had its only .err_exp
file set to the contents expected in *non*-trailing grades.
tests/invalid/undef_type.err_exp:
Update this file for recent changes to diagnostics.
tests/invalid/trailed_mutable.m:
Modify the code of this test to ensure that we can expect
at least one diagnostic in both trailing and non-trailing grades.
tests/invalid/trailed_mutable.err_exp:
tests/invalid/trailed_mutable.err_exp2:
Add the .err_exp2 file, and fill each of these files with the
expected output for non-trailing and trailing grades respectively.
9 lines
463 B
Plaintext
9 lines
463 B
Plaintext
trailed_mutable.m:019: In clause for predicate `initialise_mutable_global2'/0:
|
||
trailed_mutable.m:019: in argument 1 of call to predicate
|
||
trailed_mutable.m:019: `trailed_mutable.set_global2'/1:
|
||
trailed_mutable.m:019: type error: [38;5;87mvariable `X'[39;49m has type
|
||
trailed_mutable.m:019: [38;5;203mfloat;[39;49m
|
||
trailed_mutable.m:019: expected type was
|
||
trailed_mutable.m:019: [38;5;40mint.[39;49m
|
||
For more information, recompile with `-E'.
|