[m-rev.] Diff: Another bug fix for outputting enumerated type casts in Java

James Goddard goddardjames at yahoo.com
Fri Feb 20 18:32:27 AEDT 2004


Sorry, I should have mentioned this:
 
At the moment I'm working on rtti_implementation.m, and this issue comes up when compiling a Java implementation of type_ctor_rep/1 (which returns an enumerated type)

Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
On 20-Feb-2004, James Goddard 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?




---------------------------------
Find local movie times and trailers on Yahoo! Movies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20040220/b728bd1a/attachment.html>


More information about the reviews mailing list