[m-rev.] diff: replace require/2 and error/1 in compiler

Julien Fischer juliensf at cs.mu.OZ.AU
Mon Nov 28 13:21:15 AEDT 2005


I've not posted this diff as it's long and boring.  It's at
/home/mercury/juliensf/tmp/REPLACE_ERROR_2.Diff for those who are interested.

Estimated hours taken: 4
Branches: main

compiler/*.m:
	Use expect/3 in place of require/2 throughout most of the
	compiler.

	Use unexpected/2 (or sorry/2) in place of error/1 in more
	places.

	Fix more dodgy assertion error messages.

	s/map(prog_var, mer_type)/vartypes/ where the latter is meant.

--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list