mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 11:54:02 +00:00
compiler/error_spec.m:
Replace the possible_cause color name with the hint and inconsistent
color names, as agreed on m-rev.
compiler/globals.m:
compiler/write_error_spec.m:
Update the code handling color names and their mapping to color shades.
compiler/options.m:
Update the invisible options that record that mapping.
tools/bootcheck:
Update the color scheme used for the test suite.
compiler/accumulator.m:
compiler/add_pragma.m:
compiler/add_pragma_tabling.m:
compiler/add_type.m:
compiler/check_typeclass.m:
compiler/equiv_type.m:
compiler/format_call_errors.m:
compiler/inst_check.m:
compiler/make_hlds_error.m:
compiler/make_hlds_passes.m:
compiler/make_hlds_warn.m:
compiler/mode_errors.m:
compiler/module_qual.qual_errors.m:
compiler/parse_item.m:
compiler/parse_mutable.m:
compiler/parse_pragma.m:
compiler/parse_type_defn.m:
compiler/post_typecheck.m:
compiler/simplify_goal_call.m:
compiler/simplify_proc.m:
compiler/split_parse_tree_src.m:
compiler/state_var.m:
compiler/termination.m:
compiler/typecheck_error_overload.m:
compiler/typecheck_error_undef.m:
compiler/typecheck_errors.m:
Replace uses of the possible_cause color with one of its replacements.
In a few cases, adjust some other colors as well.
tests/invalid/bad_statevar_bad_context.err_exp:
tests/invalid/bind_in_negated.err_exp:
tests/invalid/bug197.err_exp:
tests/invalid/bug487.err_exp:
tests/invalid/coerce_disambig.err_exp:
tests/invalid/coerce_implied_mode.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/conflicting_tabling_pragmas.err_exp:
tests/invalid/dcg_context.err_exp:
tests/invalid/default_ho_inst_2.err_exp:
tests/invalid/fbnf.err_exp:
tests/invalid/freefree.err_exp:
tests/invalid/functor_ho_inst_bad_1.err_exp:
tests/invalid/functor_ho_inst_bad_3.err_exp:
tests/invalid/higher_order_mode_mismatch.err_exp:
tests/invalid/ho_type_mode_bug.err_exp:
tests/invalid/merge_inst_error.err_exp:
tests/invalid/mode_inf.err_exp:
tests/invalid/modes_erroneous.err_exp:
tests/invalid/multimode_dcg.err_exp:
tests/invalid/partial_implied_mode.err_exp:
tests/invalid/quant_constraint_1.err_exp:
tests/invalid/quant_constraint_2.err_exp:
tests/invalid/string_format_bad.err_exp:
tests/invalid/string_format_unknown.err_exp:
tests/invalid/test_may_duplicate.err_exp:
tests/invalid/test_may_export_body.err_exp:
tests/invalid/type_diff.err_exp:
tests/invalid/typeclass_dup_method_mode.err_exp:
tests/invalid_make_int/bad_mutable_int.int_err_exp:
tests/invalid_nodepend/duplicate_modes.err_exp:
tests/invalid_nodepend/errors_2.err_exp:
tests/invalid_nodepend/occurs.err_exp:
tests/invalid_nodepend/require_tailrec_invalid.err_exp:
tests/invalid_nodepend/test_with_type.err_exp:
tests/invalid_nodepend/unbound_type_vars.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/foreign_term_invalid.err_exp:
tests/warnings/format_call_multi.err_exp:
tests/warnings/format_call_warning.err_exp:
tests/warnings/table_with_inline.err_exp:
tests/warnings/warn_succ_ind.err_exp:
tests/warnings/warn_succ_ind.err_exp2:
tests/warnings/warn_succ_ind.err_exp3:
Expect updated diagnostics.
55 lines
4.4 KiB
Plaintext
55 lines
4.4 KiB
Plaintext
string_format_bad.m:022: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:022: values to be formatted in call to function
|
||
string_format_bad.m:022: [38;5;87m`string.format'/2.[39;49m
|
||
string_format_bad.m:022: There is no first conversion specifier, but there is
|
||
string_format_bad.m:022: [38;5;203man input.[39;49m
|
||
string_format_bad.m:024: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:024: values to be formatted in call to function
|
||
string_format_bad.m:024: [38;5;87m`string.format'/2.[39;49m
|
||
string_format_bad.m:024: The [38;5;87mfirst conversion specifier[39;49m uses the specifier
|
||
string_format_bad.m:024: character [38;5;171m`d',[39;49m but the corresponding input is a
|
||
string_format_bad.m:024: [38;5;171mstring.[39;49m
|
||
string_format_bad.m:024: The only specifier applicable to strings is [38;5;40m`%s'.[39;49m
|
||
string_format_bad.m:027: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:027: values to be formatted in call to predicate
|
||
string_format_bad.m:027: [38;5;87m`io.format'/4.[39;49m
|
||
string_format_bad.m:027: The [38;5;87mfirst conversion specifier[39;49m uses the specifier
|
||
string_format_bad.m:027: character [38;5;171m`d',[39;49m but the corresponding input is a
|
||
string_format_bad.m:027: [38;5;171mstring.[39;49m
|
||
string_format_bad.m:027: The only specifier applicable to strings is [38;5;40m`%s'.[39;49m
|
||
string_format_bad.m:028: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:028: values to be formatted in call to predicate
|
||
string_format_bad.m:028: [38;5;87m`io.format'/5.[39;49m
|
||
string_format_bad.m:028: The [38;5;87mfirst conversion specifier[39;49m uses the specifier
|
||
string_format_bad.m:028: character [38;5;171m`d',[39;49m but the corresponding input is a
|
||
string_format_bad.m:028: [38;5;171mstring.[39;49m
|
||
string_format_bad.m:028: The only specifier applicable to strings is [38;5;40m`%s'.[39;49m
|
||
string_format_bad.m:029: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:029: values to be formatted in call to predicate
|
||
string_format_bad.m:029: [38;5;87m`stream.string_writer.format'/5.[39;49m
|
||
string_format_bad.m:029: The [38;5;87mfirst conversion specifier[39;49m uses the specifier
|
||
string_format_bad.m:029: character [38;5;171m`d',[39;49m but the corresponding input is a
|
||
string_format_bad.m:029: [38;5;171mstring.[39;49m
|
||
string_format_bad.m:029: The only specifier applicable to strings is [38;5;40m`%s'.[39;49m
|
||
string_format_bad.m:030: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:030: values to be formatted in call to predicate
|
||
string_format_bad.m:030: [38;5;87m`io.format'/4.[39;49m
|
||
string_format_bad.m:030: The [38;5;87mfirst conversion specifier[39;49m uses the [38;5;203munknown[39;49m
|
||
string_format_bad.m:030: [38;5;203mspecifier character `w'.[39;49m
|
||
string_format_bad.m:039: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:039: values to be formatted in call to predicate
|
||
string_format_bad.m:039: [38;5;87m`io.format'/5.[39;49m
|
||
string_format_bad.m:039: The [38;5;87msecond conversion specifier[39;49m uses the specifier
|
||
string_format_bad.m:039: character [38;5;171m`f',[39;49m but the corresponding input is an
|
||
string_format_bad.m:039: [38;5;171minteger.[39;49m
|
||
string_format_bad.m:039: The specifiers applicable to ints are [38;5;40m`%d',[39;49m [38;5;40m`%i',[39;49m
|
||
string_format_bad.m:039: [38;5;40m`%o',[39;49m [38;5;40m`%x',[39;49m [38;5;40m`%X',[39;49m [38;5;40m`%u'[39;49m and [38;5;40m`%p'.[39;49m
|
||
string_format_bad.m:044: Error: the format string [38;5;203mdoes not match[39;49m the list of
|
||
string_format_bad.m:044: values to be formatted in call to predicate
|
||
string_format_bad.m:044: [38;5;87m`io.format'/5.[39;49m
|
||
string_format_bad.m:044: The [38;5;87mfirst conversion specifier[39;49m uses the specifier
|
||
string_format_bad.m:044: character [38;5;171m`d',[39;49m but the corresponding input is a
|
||
string_format_bad.m:044: [38;5;171mfloat.[39;49m
|
||
string_format_bad.m:044: The specifiers applicable to floats are [38;5;40m`%f',[39;49m [38;5;40m`%e',[39;49m
|
||
string_format_bad.m:044: [38;5;40m`%E',[39;49m [38;5;40m`%g'[39;49m and [38;5;40m`%G'.[39;49m
|