mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-27 23:34:52 +00:00
Branches: main compiler/mercury_to_mercury.m: Don't write an outer pair of brackets when formatting terms with '.' or ':' as the functor, which made module-qualified types in error messages unnecessarily ugly. tests/hard_coded/impl_def_literal.exp: tests/invalid/actual_expected.err_exp: tests/invalid/bad_instance.err_exp: tests/invalid/errors2.err_exp: tests/invalid/ext_type.err_exp: tests/invalid/ext_type_bug.err_exp: tests/invalid/funcs_as_preds.err_exp: tests/invalid/illtyped_compare.err_exp: tests/invalid/instance_dup_var.err_exp: tests/invalid/invalid_instance_declarations.err_exp: tests/invalid/method_impl.err_exp: tests/invalid/mixed_up_streams.err_exp: tests/invalid/mpj4.err_exp: tests/invalid/nullary_ho_func_error.err_exp: tests/invalid/overloading.err_exp: tests/invalid/purity/impure_func_t5.err_exp: tests/invalid/purity/impure_pred_t1.err_exp: tests/invalid/purity/impure_pred_t1_fixed.err_exp: tests/invalid/purity/impure_pred_t2.err_exp: tests/invalid/record_syntax_errors.err_exp: tests/invalid/tc_err1.err_exp: tests/invalid/tc_err2.err_exp: tests/invalid/try_bad_params.err_exp: tests/invalid/type_error_ambiguous.err_exp: tests/misc_tests/pretty_print_test.exp: tests/warnings/inference_test.exp: Update test cases.
10 lines
522 B
Plaintext
10 lines
522 B
Plaintext
method_impl.m:022: In clause for type class method implementation:
|
|
method_impl.m:022: in argument 2 of predicate `foo_m1'/2:
|
|
method_impl.m:022: type error: variable `HeadVar__2' has type `int',
|
|
method_impl.m:022: expected type was `string'.
|
|
method_impl.m:022: The partial type assignment was:
|
|
method_impl.m:022: HeadVar__1_1: method_impl.foo
|
|
method_impl.m:022: HeadVar__2_2: int
|
|
method_impl.m:025: In clause for type class method implementation:
|
|
method_impl.m:025: error: undefined predicate `bar_m1'/2.
|