mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 19:33:46 +00:00
compiler/post_typecheck.m:
As above.
tests/invalid/bug184.err_exp:
tests/invalid/bug214.err_exp:
tests/invalid/typeclass_test_8.err_exp:
tests/invalid/unsatisfiable_constraint.err_exp:
Conform to the above change.
705 B
705 B
bug184.m:019: Error: function `test'/0 contains an unsatisfied typeclass
bug184.m:019: constraint:
bug184.m:019: `bug184.myclass(T)'.
bug184.m:019: Warning: unresolved polymorphism in function `test'/0.
bug184.m:019: The variable with an unbound type was:
bug184.m:019: `V_2': list.list(T).
bug184.m:019: The unbound type variable `T' will be implicitly bound to the
bug184.m:019: builtin type `void'.
bug184.m:025: `V_2' is the first argument of the function symbol `f' unified
bug184.m:025: with `HeadVar__1'.
For more information, recompile with `-E'.
bug184.m:019: constraint:
bug184.m:019: `bug184.myclass(T)'.
bug184.m:019: Warning: unresolved polymorphism in function `test'/0.
bug184.m:019: The variable with an unbound type was:
bug184.m:019: `V_2': list.list(T).
bug184.m:019: The unbound type variable `T' will be implicitly bound to the
bug184.m:019: builtin type `void'.
bug184.m:025: `V_2' is the first argument of the function symbol `f' unified
bug184.m:025: with `HeadVar__1'.
For more information, recompile with `-E'.