Files
mercury/tests/invalid/func_errors.err_exp
Fergus Henderson a251166d8e Update the test results to reflect the extra parentheses
Estimated hours taken: 0.5

tests/invalid/some.err_exp:
tests/invalid/predmode.err_exp:
tests/invalid/func_errors.err_exp:
	Update the test results to reflect the extra parentheses
	now printed out by term_io__write_term.
1998-11-15 06:56:57 +00:00

7 lines
555 B
Plaintext

func_errors.m:009: Error: function declaration specifies a determinism but does not specify the mode: foo(int, int).
func_errors.m:010: Error: some but not all arguments have modes: bar((int :: in), int).
func_errors.m:011: Error: function arguments have modes, but function result doesn't: baz((int :: in), (int :: in)).
func_errors.m:012: Error: function result has mode, but function arguments don't: quux(int, int).
func_errors.m:018: Error: some but not all arguments have modes: q((int :: in), int).
For more information, try recompiling with `-E'.