mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-25 06:14:18 +00:00
Estimated hours taken: 0.1 tests/invalid/any_mode.err_exp The compiler no longer assumes that a predicate with no type declaration is local. This results in extra errors for this test case about there being no determinism declaration for an exported predicate.
14 lines
701 B
Plaintext
14 lines
701 B
Plaintext
any_mode.m:005: Error: no determinism declaration for exported
|
|
any_mode.m:005: predicate `any_mode:p/1'.
|
|
any_mode.m:008: Error: no determinism declaration for exported
|
|
any_mode.m:008: predicate `any_mode:q/1'.
|
|
any_mode.m:006: Warning: clause in module interface.
|
|
any_mode.m:009: Warning: clause in module interface.
|
|
any_mode.m:005: Inferred :- pred p(int).
|
|
any_mode.m:008: Inferred :- pred q(int).
|
|
any_mode.m:006: In clause for `p((any -> ground))':
|
|
any_mode.m:006: in argument 1 of call to predicate `any_mode:q/1':
|
|
any_mode.m:006: mode error: variable `X' has instantiatedness `any',
|
|
any_mode.m:006: expected instantiatedness was `ground'.
|
|
For more information, try recompiling with `-E'.
|