Files
mercury/tests/recompilation/change_func_r_2.err_exp.2
Simon Taylor efdfcdcb48 Fix a bug in my last change.
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.
2001-11-05 09:40:03 +00:00

3 lines
78 B
Groff

Recompiling module `change_func_r_2':
file `change_func_r_2.m' has changed.