[m-rev.] for review: automatically generate all type_ctor_infos on non C backends

Peter Ross pro at missioncriticalit.com
Fri Nov 21 06:25:40 AEDT 2003

On Fri, Nov 21, 2003 at 01:35:05AM +1100, Simon Taylor wrote:
> I think the use of "abstract" definitions of the builtin types 
> to force generation of RTTI is a bit of a kludge (for a start,
> the type name should be `int', not `builtin.int').  It would be
> better to handle the builtin types explicitly as a special case
> in make_hlds.m.
Yes it is a kludge that the abstract definitions of builtin types are
used to force the generation of the RTTI for these types.  However I
also find it kludgy that some of the builtin types are declared
abstractly and some not.  IMHO I believe that all types available in
Mercury should be declared somewhere.
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