mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-21 12:23:44 +00:00
Estimated hours taken: 0.5 Fix a bug in my last change. compiler/recompilation_version.m: The log message for my last change said: "Ignore the determinism on a predicate declaration when checking whether it has changed. recompilation_version.m splits combined predicate and mode declarations before checking whether the predicate's declarations have changed. The problem only occurred if a predicate with a separate mode declaration also had a determinism annotation on the `:- pred' declaration." For function declarations, a determinism declaration with no modes means use the default modes. These aren't split out into a separate declaration, so the determinism on a function type declaration can't be ignored here. tests/recompilation/TESTS: tests/recompilation/changed_func_r*: Test case.
3 lines
78 B
Groff
3 lines
78 B
Groff
Recompiling module `change_func_r_2':
|
|
file `change_func_r_2.m' has changed.
|