Files
mercury/tests/invalid/undef_lambda_mode.err_exp
Zoltan Somogyi 90b580723d More tweaks to diagnostics.
compiler/add_foreign_proc.m:
compiler/add_type.m:
compiler/check_type_inst_mode_defns.m:
compiler/det_analysis.m:
compiler/module_qual.qual_errors.m:
    Tweaks to move towards a situation where the messages generated
    for similar errors either in different circumstances or to different
    kinds of entities use the same terminology and use color the same way
    to the extent possible.

tests/invalid/bad_fact_table_decls.err_exp:
tests/invalid/ee_invalid.err_exp:
tests/invalid/oisu_check_add_pragma_errors.err_exp:
tests/invalid/one_member.err_exp:
tests/invalid/pragma_c_code_dup_var.err_exp:
tests/invalid/pragma_qual_error.err_exp:
tests/invalid/subtype_abstract.err_exp:
tests/invalid/subtype_circular.err_exp:
tests/invalid/undef_lambda_mode.err_exp:
tests/invalid/undef_mode_and_no_clauses.err_exp:
tests/invalid/wrong_type_arity.err_exp:
tests/invalid_make_int/bad_type_class_constraint_intermodule.int_err_exp:
tests/invalid_make_int/bug499.int_err_exp:
tests/invalid_make_int/bug521.int_err_exp:
tests/invalid_make_int/builtin_int.int_err_exp:
tests/invalid_make_int/int_impl_imports.int_err_exp:
tests/invalid_make_int/missing_interface_import.int_err_exp:
tests/invalid_make_int/missing_interface_import_test_2.int_err_exp:
tests/invalid_make_int/transitive_import.int_err_exp:
tests/invalid_make_int/type_arity.int_err_exp:
tests/invalid_make_int/undef_inst.int_err_exp:
tests/invalid_make_int/undef_mode.int_err_exp:
tests/invalid_make_int/undef_type_int.int_err_exp:
tests/invalid_make_int/undef_type_mod_qual.int_err_exp:
tests/invalid_nodepend/bad_mutable.err_exp:
tests/invalid_nodepend/errors_1.err_exp:
tests/invalid_nodepend/errors_3.err_exp:
tests/invalid_nodepend/instance_bug.err_exp:
tests/invalid_nodepend/kind.err_exp:
tests/invalid_nodepend/subtype_invalid_supertype.err_exp:
tests/recompilation/remove_type_re.err_exp.2:
tests/recompilation/type_qual_re.err_exp.2:
    Expect updated diagnostics.
2024-05-31 07:58:32 +10:00

355 B

undef_lambda_mode.m:009: Error: predicate `test'/1 declares a determinism
undef_lambda_mode.m:009: without declaring the modes of its arguments.
undef_lambda_mode.m:014: In mode declaration for lambda expression:
undef_lambda_mode.m:014: error: the mode `junk'/0 is undefined.