mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-17 18:33:58 +00:00
tests/warnings/*.m:
Bring the programming style of these modules up to date,
except where the problem being tested for seems to be related
to the old programming style
In the infinite_recursion test case, add code that we *should*
warn about, but currently don't.
tests/warnings/*.m:
Update the expected outputs to account for the changes in line
numbers, and the fact that the compiler computes the contexts
of (if C then T else E) if-then-elses differently from (C -> T; E)
if-then-else (it takes the context of the "then" vs the context
of the ";").
Delete arg_order_rearrangment.exp2. It was long unused, but
deleting it in CVS would not have allowed us to put it back later.
52 lines
2.8 KiB
Plaintext
52 lines
2.8 KiB
Plaintext
bug412.m:014: In module `bug412':
|
|
bug412.m:014: warning: module `bitmap' has a `:- import_module' declaration,
|
|
bug412.m:014: but is not used anywhere in the module.
|
|
bug412.m:015: In module `bug412':
|
|
bug412.m:015: warning: module `bit_buffer' has a `:- import_module'
|
|
bug412.m:015: declaration, but is not used anywhere in the module.
|
|
bug412.m:016: In module `bug412':
|
|
bug412.m:016: warning: module `bool' has a `:- import_module' declaration,
|
|
bug412.m:016: but is not used anywhere in the module.
|
|
bug412.m:018: In module `bug412':
|
|
bug412.m:018: warning: module `char' has a `:- import_module' declaration,
|
|
bug412.m:018: but is not used anywhere in the module.
|
|
bug412.m:019: In module `bug412':
|
|
bug412.m:019: warning: module `diet' has a `:- import_module' declaration,
|
|
bug412.m:019: but is not used anywhere in the module.
|
|
bug412.m:020: In module `bug412':
|
|
bug412.m:020: warning: module `digraph' has a `:- import_module' declaration,
|
|
bug412.m:020: but is not used anywhere in the module.
|
|
bug412.m:021: In module `bug412':
|
|
bug412.m:021: warning: module `enum' has a `:- import_module' declaration,
|
|
bug412.m:021: but is not used anywhere in the module.
|
|
bug412.m:022: In module `bug412':
|
|
bug412.m:022: warning: module `io' has a `:- import_module' declaration, but
|
|
bug412.m:022: is not used anywhere in the module.
|
|
bug412.m:023: In module `bug412':
|
|
bug412.m:023: warning: module `ops' has a `:- import_module' declaration, but
|
|
bug412.m:023: is not used anywhere in the module.
|
|
bug412.m:024: In module `bug412':
|
|
bug412.m:024: warning: module `pprint' has a `:- import_module' declaration,
|
|
bug412.m:024: but is not used anywhere in the module.
|
|
bug412.m:025: In module `bug412':
|
|
bug412.m:025: warning: module `rtree' has a `:- import_module' declaration,
|
|
bug412.m:025: but is not used anywhere in the module.
|
|
bug412.m:026: In module `bug412':
|
|
bug412.m:026: warning: module `store' has a `:- import_module' declaration,
|
|
bug412.m:026: but is not used anywhere in the module.
|
|
bug412.m:027: In module `bug412':
|
|
bug412.m:027: warning: module `stream' has a `:- import_module' declaration,
|
|
bug412.m:027: but is not used anywhere in the module.
|
|
bug412.m:028: In module `bug412':
|
|
bug412.m:028: warning: module `string' has a `:- import_module' declaration,
|
|
bug412.m:028: but is not used anywhere in the module.
|
|
bug412.m:029: In module `bug412':
|
|
bug412.m:029: warning: module `string.builder' has a `:- import_module'
|
|
bug412.m:029: declaration, but is not used anywhere in the module.
|
|
bug412.m:031: In module `bug412':
|
|
bug412.m:031: warning: module `term' has a `:- import_module' declaration,
|
|
bug412.m:031: but is not used anywhere in the module.
|
|
bug412.m:032: In module `bug412':
|
|
bug412.m:032: warning: module `univ' has a `:- import_module' declaration,
|
|
bug412.m:032: but is not used anywhere in the module.
|