mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 05:13:48 +00:00
Estimated hours taken: 0.75 compiler/bytecode.m: compiler/code_util.m: compiler/const_prop.m: compiler/hlds_out.m: compiler/intermod.m: compiler/llds_out.m: compiler/make_hlds.m: compiler/mercury_to_c.m: compiler/modes.m: compiler/special_pred.m: compiler/term_errors.m: compiler/trace.m: Delete all the obsolete code using magic numbers (e.g. 10000) for proc_ids. This old hack, whereby make_hlds.m assigned mode numbers based on the priority given to the determinism of each mode, is not needed anymore. It is no longer needed because modecheck_call.m now chooses the mode that is the best fit (based on a variety of factors) rather than just picking the first allowable mode. tests/invalid/duplicate_modes.err_exp: The output for this test changed, in insignificant ways: the order in which it reported the duplicates modes changed, because the mode numbers had changed.
19 lines
1.0 KiB
Plaintext
19 lines
1.0 KiB
Plaintext
duplicate_modes.m:003: In mode declarations for predicate `duplicate_modes:p/0':
|
|
duplicate_modes.m:003: error: duplicate mode declaration.
|
|
duplicate_modes.m:003: Modes `p is det'
|
|
duplicate_modes.m:003: and `p'
|
|
duplicate_modes.m:003: are indistinguishable.
|
|
duplicate_modes.m:004: Here is the conflicting mode declaration.
|
|
duplicate_modes.m:008: In mode declarations for predicate `duplicate_modes:q/2':
|
|
duplicate_modes.m:008: error: duplicate mode declaration.
|
|
duplicate_modes.m:008: Modes `q(in, out) is det'
|
|
duplicate_modes.m:008: and `q((ground -> ground), (free -> ground)) is det'
|
|
duplicate_modes.m:008: are indistinguishable.
|
|
duplicate_modes.m:009: Here is the conflicting mode declaration.
|
|
duplicate_modes.m:014: In mode declarations for predicate `duplicate_modes:r/2':
|
|
duplicate_modes.m:014: error: duplicate mode declaration.
|
|
duplicate_modes.m:014: Modes `r(in, in) is semidet'
|
|
duplicate_modes.m:014: and `r(in, in) is det'
|
|
duplicate_modes.m:014: are indistinguishable.
|
|
duplicate_modes.m:015: Here is the conflicting mode declaration.
|