Files
mercury/tests/invalid/missing_interface_import.err_exp
Zoltan Somogyi 10c8d88223 Convert this module to our current coding style.
Estimated hours taken: 6
Branches: main

compiler/module_qual.m:
	Convert this module to our current coding style. Use state variables
	where appropriate. Reorder arguments as required to allow the use of
	state variables. Use error_util instead of io__write_string to print
	error messages. Use predmode declarations where possible. Use . as
	the module name separator.

	There are no algorithmic changes except for the use of error_util.

compiler/middle_rec.m:
	Convert this module to our current coding style. Use predmode
	declarations where possible.

compiler/make_hlds.m:
compiler/mercury_compile.m:
	Conform to changed argument orders of predicates in module_qual.m.

compiler/error_util.m:
	Add a new version of the utility predicate that puts commas and "and"s
	between elements of a list.

	Fix an old bug: when printing a symname/arity pair, put quotes around
	only the symname part.

tests/invalid/*.err_exp:
tests/invalid/purity/*.err_exp:
tests/recompilation/*.err_exp.2:
tests/warning/*.exp:
	Update the expected error messages to reflect the better wrapping we
	get from error_util, and in some cases to reflect the fixed code for
	quotes around symnames.
2005-03-20 02:24:48 +00:00

12 lines
851 B
Plaintext

missing_interface_import.m:007: In definition of type `missing_interface_import.bar'/0:
missing_interface_import.m:007: error: undefined type `map'/2
missing_interface_import.m:007: (the module `map' has not been imported in the interface).
missing_interface_import.m:009: In definition of predicate `missing_interface_import.p'/1:
missing_interface_import.m:009: error: undefined type `std_util.univ'/0
missing_interface_import.m:009: (the module `std_util' has not been imported in the interface).
missing_interface_import.m:010: In definition of predicate `missing_interface_import.q'/1:
missing_interface_import.m:010: error: undefined type `list'/1
missing_interface_import.m:010: (the module `list' has not been imported in the interface).
`missing_interface_import.int' not written.
For more information, try recompiling with `-E'.