Files
mercury/tests/invalid_nodepend/func_errors.err_exp
Zoltan Somogyi 95f8201bac Use color in parse_item.m.
compiler/parse_item.m:
    Add color to the diagnostics generated by this module.

    In several cases, improve the wording of the diagnostic, and
    minimize unnecessary differences between related diagnostics.

    Move the code generating the diagnostics near the end of the module.

tests/invalid_make_int/bad_detism_category.int_err_exp:
tests/invalid_nodepend/bigtest.err_exp:
tests/invalid_nodepend/func_errors.err_exp:
tests/invalid_nodepend/pragma_source_file.err_exp:
tests/invalid_nodepend/predmode.err_exp:
tests/invalid_nodepend/test_with_type.err_exp:
    Expect updated diagnostics.
2024-05-14 17:51:27 +10:00

1003 B

func_errors.m:011: Error: some but not all arguments have modes.
func_errors.m:011: The arguments without modes are the second and the return
func_errors.m:011: value.
func_errors.m:012: Error: some but not all arguments have modes.
func_errors.m:012: The argument without a mode is the return value.
func_errors.m:013: Error: some but not all arguments have modes.
func_errors.m:013: The arguments without modes are the first and second.
func_errors.m:017: Error: predicate `p'/2 declares a determinism without
func_errors.m:017: declaring the modes of its arguments.
func_errors.m:019: Error: some but not all arguments have modes.
func_errors.m:019: The arguments without modes are the second and third.