Files
mercury/tests/valid/func_int_bug_main.m
Fergus Henderson 474c88cede Fix a bug or two that showed up when exporting a func/0 with a func
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.
1997-08-08 19:30:39 +00:00

3 lines
60 B
Mathematica

:- module func_int_bug_main.
:- import_module func_int_bug.