mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 12:26:29 +00:00
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.
3 lines
60 B
Mathematica
3 lines
60 B
Mathematica
:- module func_int_bug_main.
|
|
:- import_module func_int_bug.
|