Files
mercury/tests/recompilation/unchanged_pred_nr.err_exp.2
Simon Taylor c13cc9c8c0 Fix a bug in smart recompilation which caused some interface
Estimated hours taken: 0.5

Fix a bug in smart recompilation which caused some interface
files to be updated even if the source file was only `touch'ed.

compiler/recompilation_version.m:
        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.

compiler/mercury_to_mercury.m:
        Remove the `is det' from the `:- pred' declaration
        for mercury_output_pragma_unused_args.

tests/recompilation/TESTS:
tests/recompilation/unchanged_pred_nr*:
        Test case.
2001-11-04 17:23:19 +00:00

3 lines
83 B
Groff

Recompiling module `unchanged_pred_nr':
file `unchanged_pred_nr.used' not found.