mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 09:14:08 +00:00
compiler/item_util.m:
Make the diagnostics for duplicate include_module, import_module and
use_module declarations more readable, color them appropriately,
and (in some cases) include more info in them.
compiler/modes.m:
Improve the wording of some diagnostics.
compiler/add_pred.m:
compiler/lambda.m:
compiler/polymorphism_lambda.m:
compiler/prog_foreign_enum.m:
Delete imports of ancestor modules, since you now get a warning for that,
which --halt-at-warn turns into an error.
library/mercury_term_parser.m:
Lower case the start of an error description that will end up
in the *middle* of a sentence in the complete error message.
Make a previously semidet predicate det, to avoid the possibility
of missing anything.
tests/invalid/typeclass_mode_3.err_exp:
tests/invalid/typeclass_mode_4.err_exp:
tests/invalid/undeclared_mode.err_exp:
tests/invalid_nodepend/bigtest.err_exp:
tests/invalid_nodepend/bug115.err_exp:
tests/invalid_nodepend/constrained_poly_insts.err_exp:
tests/invalid_nodepend/errors_3.err_exp:
tests/warnings/warn_self_import.err_exp:
Expect updated diagnostics.
171 B
171 B
warn_self_import.m:017: Warning: module `warn_self_import' has a
warn_self_import.m:017: `:- import_module' declaration for itself!
warn_self_import.m:017: `:- import_module' declaration for itself!