[m-rev.] diff:

Fergus Henderson fjh at cs.mu.OZ.AU
Fri May 16 23:01:03 AEST 2003


On 16-May-2003, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> compiler/mlds.m:
> 	Allow array/1 to be a foreign type by testing for its name *after*
> 	testing for foreign types.

That change is not OK.  The array type needs to be treated specially, even
if it happens to be defined as a foreign type.

In particular, we want e.g. "array(int)" to get mapped to "int[]"
in the IL and Java back-ends.

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