Commit Graph

2 Commits

Author SHA1 Message Date
Tyson Dowd
cbcb23d17b Enable --warn-interface-imports by default.
Estimated hours taken: 3

Enable --warn-interface-imports by default. This was turned off while
list and term were defined in mercury_builtin.m, since it caused many
warnings.

Fix all the unused interface imports that have been added since then.

compiler/options.m:
	Enable --warn-interface-imports by default.

compiler/module_qual.m:
	Fix formatting inconsistencies with module names in warning
	messages. (".m" was not appended to module names if there was
	only one module).

compiler/*.m:
library/*.m:
tests/invalid/type_loop.m:
tests/warnings/*.m:
	Remove usused interface imports, or move them into
	implementation (mostly bool, list and std_util).
1997-05-21 02:16:53 +00:00
Simon Taylor
3a8d2f4ca9 Test cases for the --warn-simple-code warnings.
Estimated hours taken: 0.2

tests/warnings/simple_code.{m,exp}
	Test cases for the --warn-simple-code warnings.
1997-04-28 00:05:26 +00:00