mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-17 18:33:58 +00:00
compiler/check_promise.m:
As above.
tests/invalid/assert_in_interface.err_exp:
tests/invalid/tricky_assert1.err_exp:
Expect the comma.
7 lines
428 B
Plaintext
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.
|