Files
mercury/tests/hard_coded/complicated_unify_bug.exp
Zoltan Somogyi 96f6811501 Fix a bug: when computing FailingContexts for a complicated
Estimated hours taken: 2
Branches: main

compiler/det_analysis.m:
	Fix a bug: when computing FailingContexts for a complicated
	unification, allow the complicated unification to be of the form
	X = f(...) as well as X = Y.

	Add conditionally-compiled trace code to help debug problems like this.

tests/hard_coded/complicated_unify_bug.{m,exp}:
	New test case to test for the bug.

tests/hard_coded/Mmakefile:
	Enable the new test case.
2011-06-15 03:35:47 +00:00

7 lines
90 B
Plaintext

a(2) aa
a(5) aa
b("4 four") diff
b("five 5") diff
b("six six") same
b("seven eight") diff