Files
mercury/tests/invalid/bad_sv_unify_msg.err_exp
Zoltan Somogyi 0888268efb Use color to emphasize some errors.
compiler/add_foreign_proc.m:
compiler/post_typecheck.m:
    As above.

tests/invalid/det_errors_deep.m:
    Fix software rot in this old, never-before-enabled test case.

tests/invalid/Mmakefile:
    Enable the det_errors_deep test case. It seems that the commit
    that added this test case forgot to enable it.

tests/invalid/bad_sv_unify_msg.err_exp:
tests/invalid/bug184.err_exp:
tests/invalid/bug257.err_exp:
tests/invalid/coerce_void.err_exp:
tests/invalid/det_errors_deep.err_exp:
tests/invalid/fp_dup_bug.err_exp:
tests/invalid/fp_dup_bug.err_exp2:
tests/invalid/fp_dup_bug.err_exp3:
tests/invalid/freefree.err_exp:
tests/invalid/typeclass_test_8.err_exp:
tests/invalid/unsatisfiable_constraint.err_exp:
tests/warnings/singleton_test.err_exp:
    Expect updated diagnostics.
2024-05-28 17:58:29 +10:00

1.2 KiB

bad_sv_unify_msg.m:015: Warning: unresolved polymorphism in predicate `x'/2.
bad_sv_unify_msg.m:015: The variable with an unbound type was:
bad_sv_unify_msg.m:015: `STATE_VARIABLE_D_0'.
bad_sv_unify_msg.m:015: Its type will be implicitly set to the builtin type
bad_sv_unify_msg.m:015: `void'.
bad_sv_unify_msg.m:021: Error: !D cannot appear as a unification argument.
bad_sv_unify_msg.m:021: You probably meant !.D or !:D.
bad_sv_unify_msg.m:022: In clause for `x(di, uo)':
bad_sv_unify_msg.m:022: in argument 1 of call to predicate `io.write'/3:
bad_sv_unify_msg.m:022: mode error: variable `STATE_VARIABLE_D_0' has
bad_sv_unify_msg.m:022: instantiatedness `free',
bad_sv_unify_msg.m:022: expected instantiatedness was `ground'.
bad_sv_unify_msg.m:022: In clause for predicate `x'/2:
bad_sv_unify_msg.m:022: warning: variable `STATE_VARIABLE_D_0' occurs only
bad_sv_unify_msg.m:022: once in this scope.
For more information, recompile with `-E'.