Files
mercury/tests/warnings/empty_interface.err_exp
Zoltan Somogyi 2a08f3bf23 Use color in parse_class.m and check_module_interface.m.
compiler/check_module_interface.m:
compiler/parse_class.m:
    Add color to the diagnostics generated by these modules.

    In a few cases, improve the wording of the diagnostic.

tests/invalid/type_inf_loop.err_exp:
tests/invalid/typeclass_missing_det_3.err_exp:
tests/invalid_make_int/bad_existential_data_type.int_err_exp:
tests/invalid_make_int/unbound_type_vars_int.int_err_exp:
tests/invalid_nodepend/bigtest.err_exp:
tests/invalid_nodepend/duplicate_modes.err_exp:
tests/invalid_nodepend/errors_1.err_exp:
tests/invalid_nodepend/errors_2.err_exp:
tests/invalid_nodepend/errors_3.err_exp:
tests/invalid_nodepend/funcs_as_preds.err_exp:
tests/invalid_nodepend/inst_list_dup.err_exp:
tests/invalid_nodepend/no_exports.err_exp:
tests/invalid_nodepend/occurs.err_exp:
tests/invalid_nodepend/prog_io_erroneous.err_exp:
tests/invalid_nodepend/typeclass_no_param.err_exp:
tests/invalid_nodepend/typeclass_test_1.err_exp:
tests/invalid_nodepend/typeclass_test_2.err_exp:
tests/invalid_nodepend/typeclass_test_3.err_exp:
tests/invalid_nodepend/unicode_1.err_exp:
tests/invalid_nodepend/unicode_2.err_exp:
tests/invalid_nodepend/var_as_pred_name.err_exp:
tests/invalid_nodepend/vars_in_wrong_places.err_exp:
tests/warnings/empty_interface.err_exp:
    Expect updated diagnostics.
2024-05-13 11:14:05 +10:00

9 lines
628 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

empty_interface.m:005: Warning: the interface of module `empty_interface' does
empty_interface.m:005: not export anything.
empty_interface.m:005: To be useful, a module should export something. A file
empty_interface.m:005: should contain at least one declaration other than
empty_interface.m:005: `:- import_module' in its interface section(s). This
empty_interface.m:005: would normally be a `:- pred' or `:- func'
empty_interface.m:005: declaration, or a `:- type', `:- inst', `:- mode',
empty_interface.m:005: `:- typeclass' or `:- instance' definition.