Files
mercury/tests/hard_coded/failure_unify.exp
Simon Taylor f45e1b5ab9 Fix a bug in mode analysis which caused spurious errors
Estimated hours taken: 4
Branches: main

Fix a bug in mode analysis which caused spurious errors
for code containing unifications which always fail.

compiler/inst_util.m:
	Fix the code to abstractly unify bound inst lists.
	The old code was combining determinisms as if they
	were the determinisms of conjuncts when it should
	have been treating them as the determinisms of the
	arms of a switch.

compiler/det_analysis.m:
	Add det_switch_detism for use by inst_util.m.

tests/hard_coded/Mmakefile:
tests/hard_coded/failure_unify.{m,exp}:
	Test case.
2002-07-30 04:29:44 +00:00

2 lines
15 B
Plaintext