[m-rev.] diff: mangling method pred names

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Jul 6 20:16:22 AEST 2001


On 03-Jul-2001, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> DJ has already reviewed the substantive part of this change.
> 
> compiler/check_typeclass.m:
> 	Change the scheme we use to form the name of the predicate we introduce
> 	for typeclass methods to make it reversible, i.e. to allow a demangler
> 	to use the predicate name to find out the names of the class, the
> 	method, and the instance types *unambiguously*; The old scheme was
> 	ambiguous.
> 
> 	Also change the prefix used by the scheme to something more relevant.
> 
> tests/debugger/*.exp:
> 	Update the names of method predicates in the expected outputs of the
> 	tests using typeclasses.

This change broke some test cases, in particular
tests/debugger/existential_type_classes and tests/debugger/multi_parameter
in grade asm_fast.gc.debug.tr.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
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