Files
mercury/tests/invalid/overloading.err_exp
Zoltan Somogyi 2fef92cfa8 Color the subjects of error messages.
compiler/error_spec.m:
    Add a new color name, color_subject, which is intended to be used
    as the color for the subject of an error message. The subject is
    usually a variable or a term.

compiler/options.m:
doc/user_guide.texi:
    Add an option to control the actual color for this color name.

compiler/globals.m:
    Include the new color in the color specification database.

compiler/write_error_spec.m:
    Handle the conversion of the new color name to the selected
    corresponding actual color.

compiler/typecheck_errors.m:
    Color the subjects of (most of) the error messages generated by
    this module with the new color.

tests/invalid/abstract_eqv.err_exp:
tests/invalid/actual_expected.err_exp:
tests/invalid/actual_more_expected.err_exp:
tests/invalid/arg_permutation.err_exp:
tests/invalid/arith_wrong_module.err_exp:
tests/invalid/bad_statevar_bad_context.err_exp:
tests/invalid/bug197.err_exp:
tests/invalid/coerce_infer.err_exp:
tests/invalid/coerce_non_du.err_exp:
tests/invalid/coerce_type_error.err_exp:
tests/invalid/coerce_unify_tvars.err_exp:
tests/invalid/comparison.err_exp:
tests/invalid/error_in_list.err_exp:
tests/invalid/exist_foreign_error.err_exp:
tests/invalid/ext_type.err_exp:
tests/invalid/ext_type_bug.err_exp:
tests/invalid/fbnf.err_exp:
tests/invalid/foreign_procs_exist_type.err_exp:
tests/invalid/getopt_old.err_exp:
tests/invalid/higher_order_mode_mismatch.err_exp:
tests/invalid/ho_type_arity_bug.err_exp:
tests/invalid/illtyped_compare.err_exp:
tests/invalid/integral_constant_no_suffix.err_exp:
tests/invalid/method_impl.err_exp:
tests/invalid/mixed_up_streams.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/overloading.err_exp:
tests/invalid/record_syntax_errors.err_exp:
tests/invalid/try_bad_params.err_exp:
tests/invalid/type_diff.err_exp:
tests/invalid/type_error_ambiguous.err_exp:
tests/invalid/type_error_in_arg.err_exp:
tests/invalid/type_mismatch.err_exp:
tests/invalid/types2.err_exp:
tests/invalid/user_field_access_decl_override2.err_exp:
tests/invalid_nodepend/errors2.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_purity/purity_nonsense.err_exp:
tests/invalid_purity/purity_nonsense2.err_exp:
tests/invalid_purity/purity_type_error.err_exp:
    Expect the new-colored output.
2024-05-05 09:49:35 +10:00

874 B

overloading.m:057: In clause for predicate `p'/4:
overloading.m:057: in unification of variable `OptInfo'
overloading.m:057: and term `opt_info(MustHaveOwnSlot, EverOnStack,
overloading.m:057: CurIntervalId, V_22, Counter1, StartMap0, EndMap0,
overloading.m:057: VarsMap0, SuccMap0)':
overloading.m:057: type error in argument of functor `opt_info'/9.
overloading.m:057: Argument 3 (CurIntervalId) has type
overloading.m:057: overloading.interval_id,
overloading.m:057: expected type was
overloading.m:057: tree234.tree234(
overloading.m:057: term.var(term.generic),
overloading.m:057: tree234.tree234(overloading.goal_path, string)
overloading.m:057: ).