mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 21:33:49 +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.
29 lines
1.5 KiB
Plaintext
29 lines
1.5 KiB
Plaintext
occurs.m:005: Warning: the interface of module `occurs' does not export
|
|
occurs.m:005: anything.
|
|
occurs.m:007: Error: module `occurs' should start with either an `:- interface'
|
|
occurs.m:007: or an `:- implementation' declaration.
|
|
occurs.m:007: The following assumes that the missing declaration is an
|
|
occurs.m:007: `:- implementation' declaration.
|
|
occurs.m:014: In clause for `p':
|
|
occurs.m:014: mode error in unification of `X' and `occurs.f(X)'.
|
|
occurs.m:014: Variable `X' has instantiatedness `free',
|
|
occurs.m:014: term `occurs.f(X)' has instantiatedness
|
|
occurs.m:014: `named inst occurs.f(free)'.
|
|
occurs.m:014: In clause for predicate `p'/0:
|
|
occurs.m:014: warning: variable `X' occurs only once in this scope.
|
|
occurs.m:014: Warning: the variable `X' is unified with a term containing
|
|
occurs.m:014: itself.
|
|
occurs.m:016: In `p2':
|
|
occurs.m:016: warning: determinism declaration could be tighter.
|
|
occurs.m:016: Declared `semidet', inferred `failure'.
|
|
occurs.m:019: Warning: the variable `X' is unified with a term containing
|
|
occurs.m:019: itself.
|
|
occurs.m:024: In clause for `p3':
|
|
occurs.m:024: mode error in unification of `X' and `occurs.f(X)'.
|
|
occurs.m:024: Variable `X' has instantiatedness `unique(f(free))',
|
|
occurs.m:024: term `occurs.f(X)' has instantiatedness
|
|
occurs.m:024: `named inst occurs.f(unique(f(free)))'.
|
|
occurs.m:024: Warning: the variable `X' is unified with a term containing
|
|
occurs.m:024: itself.
|
|
For more information, recompile with `-E'.
|