mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 02:43:40 +00:00
compiler/mode_errors.m:
If the argument whose instantiation we are complaining about is
the result of a function, say so.
tests/invalid/mode_error_arg_number.{m,err_exp}:
Add a test of this message.
tests/invalid/bug117.err_exp:
tests/invalid/coerce_int.err_exp:
tests/invalid/html.err_exp:
tests/invalid/inst_matches_final_bug.err_exp:
Expect the correct reference to function results in these test cases.
7 lines
408 B
Plaintext
7 lines
408 B
Plaintext
inst_matches_final_bug.m:023: In clause for `return_three = out(bound(3))':
|
|
inst_matches_final_bug.m:023: mode error: the function result did not get
|
|
inst_matches_final_bug.m:023: sufficiently instantiated.
|
|
inst_matches_final_bug.m:023: Final instantiatedness of `HeadVar__1' was
|
|
inst_matches_final_bug.m:023: `ground',
|
|
inst_matches_final_bug.m:023: expected final instantiatedness was `bound(3)'.
|