mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-05-01 17:24:34 +00:00
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.
11 lines
873 B
Plaintext
11 lines
873 B
Plaintext
missing_interface_import2.m:009: In definition of predicate `missing_interface_import2.write_key'/3:
|
|
missing_interface_import2.m:009: error: undefined type `key'/0
|
|
missing_interface_import2.m:009: (the modules `group' and `missing_interface_import3' have not been imported in the interface).
|
|
missing_interface_import2.m:009: In definition of predicate `missing_interface_import2.write_key'/3:
|
|
missing_interface_import2.m:009: error: undefined type `io.state'/0
|
|
missing_interface_import2.m:009: (the module `io' has not been imported in the interface).
|
|
missing_interface_import2.m:009: In definition of predicate `missing_interface_import2.write_key'/3:
|
|
missing_interface_import2.m:009: error: undefined type `io.state'/0
|
|
missing_interface_import2.m:009: (the module `io' has not been imported in the interface).
|
|
For more information, try recompiling with `-E'.
|