mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-27 07:14:20 +00:00
compiler/add_pragma_type_spec.m:
Use color in some diagnostics.
compiler/parse_type_defn.m:
Use color better in a diagnostic.
compiler/simplify_proc.m:
Improve the wording of some diagnostics.
tests/invalid/synth_attr_error.err_exp:
tests/invalid/test_may_duplicate.err_exp:
tests/invalid/test_may_export_body.err_exp:
tests/invalid/test_type_spec.err_exp:
tests/invalid/type_no_arrow.err_exp:
Expect updated diagnostics.
22 lines
1.8 KiB
Plaintext
22 lines
1.8 KiB
Plaintext
synth_attr_error_spec:003: Error: synthesized attribute [38;5;87m`sorted_list'[39;49m of event
|
||
synth_attr_error_spec:003: `nodiag_fail' [38;5;203mdepends on itself.[39;49m
|
||
synth_attr_error_spec:007: Error: attribute [38;5;87m`arg_list_len'[39;49m of event
|
||
synth_attr_error_spec:007: `nodiag_fail' uses [38;5;203mnonexistent attribute[39;49m
|
||
synth_attr_error_spec:007: [38;5;203m`xsorted_list'[39;49m in its synthesis.
|
||
synth_attr_error_spec:009: Error: attribute [38;5;87m`arg_list_lenb'[39;49m [38;5;203mcannot be[39;49m
|
||
synth_attr_error_spec:009: [38;5;203msynthesized[39;49m by non-function attribute `arg_list'.
|
||
synth_attr_error_spec:015: Error: synthesized attributes [38;5;87m`excp'[39;49m and [38;5;87m`excp2'[39;49m of
|
||
synth_attr_error_spec:015: event `safe_test' [38;5;203mdepend on each other.[39;49m
|
||
synth_attr_error_spec:017: Error: attribute [38;5;87m`f'[39;49m is assigned [38;5;203minconsistent types[39;49m
|
||
synth_attr_error_spec:017: by synthesized attributes.
|
||
synth_attr_error_spec:026: Error: this specification for event [38;5;87m`safe_test'[39;49m [38;5;203mis a[39;49m
|
||
synth_attr_error_spec:026: [38;5;203mduplicate.[39;49m
|
||
synth_attr_error_spec:015: The previous specification of event `safe_test' is
|
||
synth_attr_error_spec:015: here.
|
||
synth_attr_error_spec:030: Error: event `e' [38;5;203mhas more than one[39;49m attribute named
|
||
synth_attr_error_spec:030: [38;5;87m`dupx'.[39;49m
|
||
synth_attr_error_spec:033: Error: attribute [38;5;87m`f'[39;49m is assigned [38;5;203minconsistent types[39;49m
|
||
synth_attr_error_spec:033: by synthesized attributes.
|
||
synth_attr_error_spec:040: Error: attribute [38;5;87m`f'[39;49m is assigned [38;5;203minconsistent types[39;49m
|
||
synth_attr_error_spec:040: by synthesized attributes.
|