mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 04:13:46 +00:00
Estimated hours taken: 0.25 compiler/unique_modes.m: The argument offset for higher-order calls was being set to 0, not 1 (the higher-order term is not included in the argument list). This resulted in the argument numbers in error messages for higher-order calls being one less than expected. tests/invalid/Mmakefile: tests/invalid/ho_unique_error.m: tests/invalid/ho_unique_error.err_exp: Test case.
6 lines
375 B
Plaintext
6 lines
375 B
Plaintext
ho_unique_error.m:012: In clause for `call_ho(di, uo)':
|
|
ho_unique_error.m:012: in argument 3 (i.e. argument 2 of the called predicate) of higher-order predicate call:
|
|
ho_unique_error.m:012: mode error: variable `DCG_0' has instantiatedness `mostly_unique',
|
|
ho_unique_error.m:012: expected instantiatedness was `unique'.
|
|
For more information, try recompiling with `-E'.
|