[m-rev.] diff: IL back-end: add constructors for all classes

Tyson Dowd trd at cs.mu.OZ.AU
Tue Aug 14 01:38:40 AEST 2001


On 13-Aug-2001, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> Estimated hours taken: 1
> Branches: main
> 
> Fix another bug with --high-level-data in the IL back-end.
> 
> compiler/mlds_to_il.m:
> 	If a class doesn't have any constructors, add an empty one.
> 	
> compiler/ml_elim_nested.m:
> 	Delete code to add empty constructors for environment types,
> 	since this is now handled by mlds_to_il.m.

This looks good, thanks.

BTW this will also (when it makes it onto the dotnet-foreign branch)
make WebMethod attributes work better, as adding a .ctor was one of the
things that had to be fixed by hand to use WebMethods from Mercury.

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