[m-rev.] RTTI bug & type specialization

Simon Taylor stayl at cs.mu.OZ.AU
Fri Dec 19 09:38:40 AEDT 2003


On 19-Dec-2003, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Estimated hours taken: 1
> Branches: main
> 
> Work around an RTTI bug which was causing problems for accurate gc bug.

Delete the last bug.
 
> compiler/handle_options.m:
> 	Disable type specialization, since this can create type class
> 	constraints on compound non-ground types, which the current
> 	RTTI system can't handle.

I'm not sure exactly what the problem is.  Type specialization
should only consider a typeclass-info to provide a type-info for
a type variable if that variable occurs at the top level in the
class constraint (see higher_order.arg_type_contains_type_info_for_tvar).

Simon.
--------------------------------------------------------------------------
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