Files
mercury/tests/invalid/bug436.err_exp
Zoltan Somogyi aa3acc3e67 More minor updates to diagnostics.
compiler/add_clause.m:
    Use color more sparingly, especially the possible_cause color.
    Replace some, but far from all, of its uses with color_correct
    and color_incorrect.

compiler/add_foreign_enum.m:
    Use our standard indent level for lists.

    Allow this test case to pass for C# without an artificial compiler abort,
    and for both Java and C# without bespoke .err_expN files.

compiler/check_type_inst_mode_defns.m:
compiler/old_type_constraints.m:
compiler/prog_foreign_enum.m:
    Use our standard indent level for lists.

compiler/typecheck_msgs.m:
    Add color to a warning.

tests/invalid/bug436.err_exp:
tests/invalid/ee_invalid.err_exp:
tests/invalid/exported_foreign_enum.err_exp:
tests/invalid/fe_unmapped_nonverbose.err_exp:
tests/invalid/fe_unmapped_verbose.err_exp:
tests/invalid/foreign_enum_invalid.err_exp:
tests/invalid/ref_to_implicit_comma.err_exp:
tests/invalid/types2.err_exp:
tests/warnings/warn_non_contiguous.err_exp:
tests/warnings/warn_non_contiguous_foreign.err_exp:
    Expect updated diagnostics.
2024-05-22 22:59:55 +10:00

475 B

bug436.m:023: In `:- pragma foreign_enum' declaration for type `foo'/0:
bug436.m:023: error: the following symbol is not a constructor of the type:
bug436.m:023: `bar'.
bug436.m:029: In `:- pragma foreign_enum' declaration for type `bar'/0:
bug436.m:029: error: the following symbols are not constructors of the type:
bug436.m:029: `baaz1',
bug436.m:029: `baaz2'.