Files
mercury/tests/invalid/sub_c.err_exp
Fergus Henderson a448d183d2 Minor improvements to some compiler error messages.
Estimated hours taken: 1

Minor improvements to some compiler error messages.

compiler/modules.m:
	Fix a missing close-quote in an error message.
	Also improve the wording of the message slightly.

compiler/check_typeclass.m:
compiler/typecheck.m:
	Add quotes (`...') in a couple of places

tests/invalid/sub*.err_exp:
tests/invalid/typeclass_test*.err_exp:
	Update to reflect the new error messages.

tests/invalid/Mmakefile:
	Delete an obsolete comment about a poor error message.
1998-10-29 09:25:45 +00:00

9 lines
412 B
Plaintext

sub_c.m:012: In module `sub_c':
sub_c.m:012: error in `import_module' declaration:
sub_c.m:012: module `sub_a:sub1' is inaccessible.
sub_c.m:012: Either there was no prior `import_module' or
sub_c.m:012: `use_module' declaration to import module
sub_c.m:012: `sub_a', or the interface for module
sub_c.m:012: `sub_a' does not contain an `include_module'
sub_c.m:012: declaration for module `sub1'.