Files
mercury/tests/invalid/tricky_assert1.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

7 lines
428 B
Plaintext

tricky_assert1.m:010: In interface for module `tricky_assert1':
tricky_assert1.m:010: error: exported promise refers to predicate
tricky_assert1.m:010: `tricky_assert1.local'/0 which is defined in the
tricky_assert1.m:010: implementation section of module `tricky_assert1'.
tricky_assert1.m:010: Either move the promise into the implementation
tricky_assert1.m:010: section, or move the definition into the interface.