[m-dev.] diff: fix bug in tests/valid/intermod_user_equality*2.m

Fergus Henderson fjh at cs.mu.OZ.AU
Wed May 17 05:44:23 AEST 2000

I wrote:

> (B1) XXX intermodule optimization #include/dependency problems
> valid/intermod_user_equality: B1
> valid/intermod_user_equality_nested: B1

It turns out I had misinterpreted the cause of that test case
failure.  It was actually failing due to a determinism error
in the test case.  That of course raises another question: why wasn't
it failing for the LLDS back-end?  The reason is that the determinism
error was in a part of the test case which the LLDS back-end didn't
compile, but which the MLDS back-end did.

Anyhow, here's the fix.


Estimated hours taken: 1

	Fix a bug in these test cases that caused a compile error
	("unification for non-canonical type is not guaranteed to succeed")
	when building things in MLDS grades.  For the LLDS back-end,
	these modules weren't being compiled, only the modules that
	import them were being compiled; but for the MLDS back-end,
	compiling the latter to `.o' requires generating the header
	files for the former, and generating the header files requires

Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at        |     -- the last words of T. S. Garp.
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au

More information about the developers mailing list