mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 05:43:53 +00:00
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.
2 lines
7 B
Plaintext
2 lines
7 B
Plaintext
worked
|