mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-30 08:44:37 +00:00
compiler/det_analysis.m:
compiler/post_typecheck.m:
compiler/typecheck_errors.m:
Use color more sparingly. Improve wording.
compiler/error_spec.m:
Add two new utility functions for coloring lists of items, and
add a new kind of piece, purity_desc_article. Both are for use by
new code in the modules above.
compiler/write_error_spec.m:
Implement the new kind of piece.
tests/invalid/arg_permutation.err_exp:
tests/invalid/arith_wrong_module.err_exp:
tests/invalid/bad_sv_unify_msg.err_exp:
tests/invalid/bug184.err_exp:
tests/invalid/bug197.err_exp:
tests/invalid/bug214.err_exp:
tests/invalid/bug257.err_exp:
tests/invalid/coerce_void.err_exp:
tests/invalid/fbnf.err_exp:
tests/invalid/freefree.err_exp:
tests/invalid/getopt_old.err_exp:
tests/invalid/higher_order_mode_mismatch.err_exp:
tests/invalid/integral_constant_no_suffix.err_exp:
tests/invalid/one_member.err_exp:
tests/invalid/pragma_c_code_no_det.err_exp:
tests/invalid/type_diff.err_exp:
tests/invalid/typeclass_test_8.err_exp:
tests/invalid/unsatisfiable_constraint.err_exp:
tests/invalid_purity/impure_pred_t1_fixed.err_exp:
tests/invalid_purity/impure_pred_t2.err_exp:
tests/invalid_purity/purity_nonsense_1.err_exp:
tests/invalid_purity/purity_nonsense_2.err_exp:
tests/warnings/singleton_test.err_exp:
Expect updated diagnostics.
32 lines
1.8 KiB
Plaintext
32 lines
1.8 KiB
Plaintext
arg_permutation.m:020: In clause for predicate `main'/2:
|
||
arg_permutation.m:020: in call to predicate `arg_permutation.test'/5:
|
||
arg_permutation.m:020: in argument 1:
|
||
arg_permutation.m:020: [38;5;87mvariable `A'[39;49m has type
|
||
arg_permutation.m:020: [38;5;203mfloat,[39;49m
|
||
arg_permutation.m:020: expected type was
|
||
arg_permutation.m:020: [38;5;40mint[39;49m
|
||
arg_permutation.m:020: (the actual type is [38;5;226mthe same as[39;49m the expected type of
|
||
arg_permutation.m:020: argument 2, which is variable `B', and argument 5);
|
||
arg_permutation.m:020: in argument 2:
|
||
arg_permutation.m:020: [38;5;87mvariable `B'[39;49m has type
|
||
arg_permutation.m:020: [38;5;203mint,[39;49m
|
||
arg_permutation.m:020: expected type was
|
||
arg_permutation.m:020: [38;5;40mfloat[39;49m
|
||
arg_permutation.m:020: (the actual type is [38;5;226mthe same as[39;49m the expected type of
|
||
arg_permutation.m:020: argument 1, which is variable `A');
|
||
arg_permutation.m:020: in argument 4:
|
||
arg_permutation.m:020: [38;5;87margument[39;49m has type
|
||
arg_permutation.m:020: [38;5;203mfloat,[39;49m
|
||
arg_permutation.m:020: expected type was
|
||
arg_permutation.m:020: [38;5;40mstring[39;49m
|
||
arg_permutation.m:020: (the actual type is [38;5;226mthe same as[39;49m the expected type of
|
||
arg_permutation.m:020: argument 2, which is variable `B', and argument 5);
|
||
arg_permutation.m:020: in argument 5:
|
||
arg_permutation.m:020: [38;5;87margument[39;49m has type
|
||
arg_permutation.m:020: [38;5;203mstring,[39;49m
|
||
arg_permutation.m:020: expected type was
|
||
arg_permutation.m:020: [38;5;40mfloat[39;49m
|
||
arg_permutation.m:020: (the actual type is [38;5;226mthe same as[39;49m the expected type of
|
||
arg_permutation.m:020: argument 4).
|
||
For more information, recompile with `-E'.
|