mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-30 00:34:40 +00:00
tests/invalid_onlydepend:
Move the one test case in tests/invalid for which we want to check
the error messages generated during the generation of dependencies
to this new test directory.
tests/invalid_nodepend:
Move all test cases in tests/invalid which get errors during the
generation of dependencies but for which we want to check the error
messages generated during normal compilation to this new test directory.
tests/invalid_nodepend/Mmakefile:
tests/invalid_nodepend/Mercury.options:
tests/invalid_onlydepend/Mmakefile:
tests/invalid_onlydepend/Mercury.options:
Versions of the same files in tests/invalid, but containing only
the entries relevant to the moved test cases.
tests/invalid/Mmakefile:
tests/invalid/Mercury.options:
Delete the entries that refer to the moved test cases.
tests/README:
Document the two new test directories.
tools/bootcheck:
Add invalid_onlydepend and invalid_nodepend to the list of
test directories.
31 lines
1.8 KiB
Plaintext
31 lines
1.8 KiB
Plaintext
funcs_as_preds.m:012: Warning: the interface of module `funcs_as_preds' does
|
|
funcs_as_preds.m:012: not export anything.
|
|
funcs_as_preds.m:014: Error: module `funcs_as_preds' should start with either
|
|
funcs_as_preds.m:014: an `:- interface' or an `:- implementation'
|
|
funcs_as_preds.m:014: declaration.
|
|
funcs_as_preds.m:014: The following assumes that the missing declaration is
|
|
funcs_as_preds.m:014: an `:- implementation' declaration.
|
|
funcs_as_preds.m:018: Error: clause for function `null'/1
|
|
funcs_as_preds.m:018: without corresponding `:- func' declaration.
|
|
funcs_as_preds.m:018: In clause for function `null'/1:
|
|
funcs_as_preds.m:018: in function result term of clause head:
|
|
funcs_as_preds.m:018: error: the language construct `='/2 should be used as a
|
|
funcs_as_preds.m:018: goal, not as an expression.
|
|
funcs_as_preds.m:022: Error: clause for function `car'/1
|
|
funcs_as_preds.m:022: without corresponding `:- func' declaration.
|
|
funcs_as_preds.m:022: Inferred :- func car(list.list(list.list(T))) =
|
|
funcs_as_preds.m:022: list.list(T).
|
|
funcs_as_preds.m:025: Error: clause for function `cdr'/1
|
|
funcs_as_preds.m:025: without corresponding `:- func' declaration.
|
|
funcs_as_preds.m:025: Inferred :- func cdr(list.list(T)) = list.list(T).
|
|
funcs_as_preds.m:028: Error: clause for function `cons'/2
|
|
funcs_as_preds.m:028: without corresponding `:- func' declaration.
|
|
funcs_as_preds.m:028: Inferred :- func cons(T, list.list(T)) = list.list(T).
|
|
funcs_as_preds.m:031: Error: clause for function `ap'/2
|
|
funcs_as_preds.m:031: without corresponding `:- func' declaration.
|
|
funcs_as_preds.m:031: In clause for function `ap'/2:
|
|
funcs_as_preds.m:031: error: undefined predicate `null'/1.
|
|
funcs_as_preds.m:031: (There is a *function* with that name, however.
|
|
funcs_as_preds.m:031: Perhaps you forgot to add ` = ...'?)
|
|
For more information, recompile with `-E'.
|