Estimated hours taken: 2
compiler/mercury_to_mercury.m:
Fix a bug or two that showed up when exporting a func/0 with a func
declaration that combines types and modes. It was incorrectly
(a) printing the determinism in the type declaration, not just
the mode declaration and (b) printing the determinism in the
wrong place in the mode declaration.
tests/valid/Mmake.m:
tests/valid/func_int_bug.m:
tests/valid/func_int_bug_main.m:
Regression test for the above bug fix.