Files
mercury/tests/general/det_complicated_unify2.exp
Fergus Henderson eab047defe Fix a recently introduced bug which caused the compiler to sometimes report
Estimated hours taken: 3
Branches: main

Fix a recently introduced bug which caused the compiler to sometimes report
determinism errors in automatically-generated unification procedures.

compiler/unify_proc.m:
	Disable the optimization to the way that we generate clauses for
	unification procedures which Zoltan added recently, because it
	breaks determinism analysis.

tests/general/Mmakefile.
tests/general/det_complicated_unify2.m:
tests/general/det_complicated_unify2.exp:
	Add a new test case showing the problem.  This is a variant of
	det_complicated_unify.m in which the type involved is a d.u. type
	rather than an enumeration.  Mercury 0.11 passes this test case,
	Zoltan's change broke it, and the patch to unify_proc.m above
	ensures that we pass it again.
2004-02-12 04:06:50 +00:00

2 lines
7 B
Plaintext