Peter Wang 6dabc1ce92 In the Java grade, an enumeration is represented by a class with a `value'
Branches: main

In the Java grade, an enumeration is represented by a class with a `value'
field, alongside constants named by the user.  A constant named `value'
would conflict with that field, so we rename it to `MR_value'.

compiler/ml_type_gen.m:
compiler/mlds_to_java.m:
        As above.

tests/hard_coded/Mmakefile:
tests/hard_coded/value_enum.exp:
tests/hard_coded/value_enum.m:
        Add test case.
2009-05-25 02:29:20 +00:00

Mercury 0.13 may not work on Solaris 10 (SunOS 5.10) due to incompatibilities
with the version of Boehm GC shipped with that version of Mercury.

(The above problem has been fixed in post-0.13 versions of Mercury.)

Also, note that `--linkage static' is not supported on Solaris.  Executables
produced using this option will cause a segmentation fault.
Description
No description provided
Readme MIT 248 MiB
Languages
Mercury 85.3%
C 8.7%
Shell 1.4%
Makefile 1%
JavaScript 1%
Other 2.1%