mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 03:43:51 +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.
1.8 KiB
1.8 KiB
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: variable `A' has type
arg_permutation.m:020: float,
arg_permutation.m:020: expected type was
arg_permutation.m:020: int
arg_permutation.m:020: (the actual type is the same as 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: variable `B' has type
arg_permutation.m:020: int,
arg_permutation.m:020: expected type was
arg_permutation.m:020: float
arg_permutation.m:020: (the actual type is the same as 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: argument has type
arg_permutation.m:020: float,
arg_permutation.m:020: expected type was
arg_permutation.m:020: string
arg_permutation.m:020: (the actual type is the same as 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: argument has type
arg_permutation.m:020: string,
arg_permutation.m:020: expected type was
arg_permutation.m:020: float
arg_permutation.m:020: (the actual type is the same as the expected type of
arg_permutation.m:020: argument 4).
For more information, recompile with `-E'.
arg_permutation.m:020: in call to predicate `arg_permutation.test'/5:
arg_permutation.m:020: in argument 1:
arg_permutation.m:020: variable `A' has type
arg_permutation.m:020: float,
arg_permutation.m:020: expected type was
arg_permutation.m:020: int
arg_permutation.m:020: (the actual type is the same as 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: variable `B' has type
arg_permutation.m:020: int,
arg_permutation.m:020: expected type was
arg_permutation.m:020: float
arg_permutation.m:020: (the actual type is the same as 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: argument has type
arg_permutation.m:020: float,
arg_permutation.m:020: expected type was
arg_permutation.m:020: string
arg_permutation.m:020: (the actual type is the same as 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: argument has type
arg_permutation.m:020: string,
arg_permutation.m:020: expected type was
arg_permutation.m:020: float
arg_permutation.m:020: (the actual type is the same as the expected type of
arg_permutation.m:020: argument 4).
For more information, recompile with `-E'.