mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 17:33:38 +00:00
compiler/split_parse_tree_src.m:
Add color to the diagnostics generated by this module.
In a few cases, improve the wording of the diagnostic.
Ensure that all error messages include "error" in their text.
tests/invalid_submodules/duplicate_module_test.err_exp:
tests/invalid_submodules/func_class.err_exp:
tests/invalid_submodules/nested_impl_in_int.err_exp:
Expect updated diagnostics.
565 B
565 B
nested_impl_in_int.m:026: Error: this implementation section for module
nested_impl_in_int.m:026: `nested_impl_in_int.child' occurs in the interface
nested_impl_in_int.m:026: section of parent module `nested_impl_in_int'.
nested_impl_in_int.m:045: Error: this implementation section for module
nested_impl_in_int.m:045: `nested_impl_in_int.child2' occurs in the interface
nested_impl_in_int.m:045: section of parent module `nested_impl_in_int'.
nested_impl_in_int.m:026: `nested_impl_in_int.child' occurs in the interface
nested_impl_in_int.m:026: section of parent module `nested_impl_in_int'.
nested_impl_in_int.m:045: Error: this implementation section for module
nested_impl_in_int.m:045: `nested_impl_in_int.child2' occurs in the interface
nested_impl_in_int.m:045: section of parent module `nested_impl_in_int'.