[m-rev.] Diff: Another bug fix for outputting enumerated type casts in Java
Fergus Henderson
fjh at cs.mu.OZ.AU
Fri Feb 20 18:27:19 AEDT 2004
On 20-Feb-2004, James Goddard <goddardjames at yahoo.com> wrote:
> Bug fix for casting enumerated types.
>
> compiler/mlds_to_java.m:
> Removed the ".value" suffix for expressions of the form:
>
> (Type) Thing.value
>
> except for the case where Type is int.
Have you got a test case which this patch fixes?
(If it is one of the existing test cases, it is a good idea to mention
this in the log message.)
--
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