Files
mercury/tests/invalid/synth_attr_error.err_exp
Zoltan Somogyi ea1b3a51ec More minor tweaks to diagnostics.
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.
2024-06-02 01:37:39 +10:00

1.8 KiB

synth_attr_error_spec:003: Error: synthesized attribute `sorted_list' of event
synth_attr_error_spec:003: `nodiag_fail' depends on itself.
synth_attr_error_spec:007: Error: attribute `arg_list_len' of event
synth_attr_error_spec:007: `nodiag_fail' uses nonexistent attribute
synth_attr_error_spec:007: `xsorted_list' in its synthesis.
synth_attr_error_spec:009: Error: attribute `arg_list_lenb' cannot be
synth_attr_error_spec:009: synthesized by non-function attribute `arg_list'.
synth_attr_error_spec:015: Error: synthesized attributes `excp' and `excp2' of
synth_attr_error_spec:015: event `safe_test' depend on each other.
synth_attr_error_spec:017: Error: attribute `f' is assigned inconsistent types
synth_attr_error_spec:017: by synthesized attributes.
synth_attr_error_spec:026: Error: this specification for event `safe_test' is a
synth_attr_error_spec:026: duplicate.
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' has more than one attribute named
synth_attr_error_spec:030: `dupx'.
synth_attr_error_spec:033: Error: attribute `f' is assigned inconsistent types
synth_attr_error_spec:033: by synthesized attributes.
synth_attr_error_spec:040: Error: attribute `f' is assigned inconsistent types
synth_attr_error_spec:040: by synthesized attributes.