Files
mercury/tests/recompilation/add_constructor_nr.err_exp.2
Simon Taylor 43b6a8442e Fix a bug in smart recompilation which caused unnecessary recompilations.
Estimated hours taken: 0.5

Fix a bug in smart recompilation which caused unnecessary recompilations.

compiler/recompilation_check.m:
	The code to check whether a new functor could cause an
	ambiguity wasn't properly checking whether the functor
	could have matched a functor seen during the previous
	compilation.

	Simplify similar code to handle types, insts, predicates, etc.

tests/recompilation/TESTS:
tests/recompilation/add_constructor_nr*:
	Test case.
2001-11-04 14:43:00 +00:00

2 lines
43 B
Groff

Not recompiling module add_constructor_nr.