[m-rev.] for review: fix rtti get_arg bugs for il grade

Peter Ross pro at missioncriticalit.com
Thu Nov 28 01:17:41 AEDT 2002


On Thu, Nov 28, 2002 at 01:00:41AM +1100, Fergus Henderson wrote:
> OK.  That information should be included in the log message.
> 

Estimated hours taken: 8
Branches: main

Fix bugs in get_arg when used with high-level data on the il backend.
These bugs fixed in this change were exercised by the first two io__write's
in `tests/hard_coded/typeclasses/existential_rtti.m'.

library/rtti_implementation.m:
	Fix a bug where the number of extra args in a functor where
	being calculated according to whether or not a particular arg
	of that functor was an existentially quantified type variable,
	instead of just calculating the number of extra args from the
	information in the exist_info for that functor.
	Fix a bug where with high-level data the type of the secondary
	tag doesn't matter for determing the offset to find a functors
	arg.
--------------------------------------------------------------------------
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