Files
mercury/tests/invalid/occurs.err_exp
Fergus Henderson 66cf5dc7be Update the test results to reflect the new warnings
Estimated hours taken: 0.25

tests/invalid/*.err_exp:
	Update the test results to reflect the new warnings
	about modules with no exports.
1998-10-30 04:38:48 +00:00

18 lines
931 B
Plaintext

occurs.m: 1: Warning: interface for module `occurs' does not export anything.
occurs.m:008: In clause for predicate `occurs:p/0':
occurs.m:008: warning: variable `X' occurs only once in this scope.
occurs.m:008: In clause for `p':
occurs.m:008: mode error in unification of `X' and `occurs:f(X)'.
occurs.m:008: Variable `X' has instantiatedness `free',
occurs.m:008: term `occurs:f(X)'
occurs.m:008: has instantiatedness `occurs:f(free)'.
occurs.m:018: In clause for `p3':
occurs.m:018: mode error in unification of `X' and `occurs:f(X)'.
occurs.m:018: Variable `X' has instantiatedness `unique(occurs:f(free))',
occurs.m:018: term `occurs:f(X)'
occurs.m:018: has instantiatedness `occurs:f(unique(occurs:f(free)))'.
occurs.m:010: In `p2':
occurs.m:010: warning: determinism declaration could be tighter.
occurs.m:010: Declared `semidet', inferred `failure'.
For more information, try recompiling with `-E'.