Files
mercury/tests/invalid/assert_in_interface.err_exp
Zoltan Somogyi eee5821ea5 Clarify an error message by adding a comma.
compiler/check_promise.m:
    As above.

tests/invalid/assert_in_interface.err_exp:
tests/invalid/tricky_assert1.err_exp:
    Expect the comma.
2020-10-28 13:39:32 +11:00

9 lines
515 B
Plaintext

assert_in_interface.m:012: In interface for module `assert_in_interface':
assert_in_interface.m:012: error: exported promise refers to predicate
assert_in_interface.m:012: `list.last'/2 which is defined in the
assert_in_interface.m:012: implementation section of module
assert_in_interface.m:012: `assert_in_interface'.
assert_in_interface.m:012: Either move the promise into the implementation
assert_in_interface.m:012: section, or move the definition into the
assert_in_interface.m:012: interface.