mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 09:23:44 +00:00
compiler/typecheck_errors.m:
Capitalize words at the starts of sentences.
tests/invalid/arith_wrong_module.err_exp:
tests/invalid/error_in_list.err_exp:
tests/invalid/ext_type.err_exp:
tests/invalid/ho_type_arity_bug.err_exp:
tests/invalid/integral_constant_no_suffix.err_exp:
tests/invalid/mpj1.err_exp:
tests/invalid/mpj4.err_exp:
tests/invalid/no_method.err_exp:
tests/invalid/nullary_ho_func_error.err_exp:
tests/invalid/types2.err_exp:
tests/invalid/user_field_access_decl_override_2.err_exp:
tests/invalid_nodepend/errors_2.err_exp:
tests/invalid_purity/impure_func_t5.err_exp:
tests/invalid_purity/impure_pred_t1.err_exp:
tests/invalid_purity/purity_type_error.err_exp:
Expect updated diagnostics.
768 B
768 B
no_method.m:035: In clause for instance method function `func_a'/3:
no_method.m:035: error: wrong number of arguments (3; should be 2) in use of
no_method.m:035: constructor `one_str'.
no_method.m:043: In clause for instance method function `func_c'/3:
no_method.m:043: type error in unification of variable `HeadVar__4'
no_method.m:043: and functor `three_str'/3.
no_method.m:043: Variable `HeadVar__4' has type
no_method.m:043: string,
no_method.m:043: functor `three_str'/3 has type
no_method.m:043: three_str(string, string, string): func(int) = string.
For more information, recompile with `-E'.
no_method.m:035: error: wrong number of arguments (3; should be 2) in use of
no_method.m:035: constructor `one_str'.
no_method.m:043: In clause for instance method function `func_c'/3:
no_method.m:043: type error in unification of variable `HeadVar__4'
no_method.m:043: and functor `three_str'/3.
no_method.m:043: Variable `HeadVar__4' has type
no_method.m:043: string,
no_method.m:043: functor `three_str'/3 has type
no_method.m:043: three_str(string, string, string): func(int) = string.
For more information, recompile with `-E'.