Branches: main, 10.04
On the Java backend, a functor with the same name and arity as its type is
given an extra "Mr_" prefix to distinguish it. The Java implementation of
construct needs to account for the extra prefix; it does now.
library/rtti_implementation.m:
As above.
tests/hard_coded/construct_mangle.exp:
tests/hard_coded/construct_mangle.m:
Extend this test case.
Add another name mangling problem, to be fixed some other time.
Branches: main
The implementation of construct/3 for Java needs to take into account name
mangling of module and functor names.
library/rtti_implementation.m:
Replicate the name mangling algorithm in the construct implementation
for Java.
compiler/prog_foreign.m:
Add a forwarding comment if the name mangling algorithm changes.
tests/hard_coded/Mmakefile:
tests/hard_coded/construct_mangle.exp:
tests/hard_coded/construct_mangle.m:
Add test case.