Files
mercury/tests/invalid/bad_instance.err_exp
2024-05-30 20:42:34 +10:00

9 lines
666 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

bad_instance.m:012: In instance declaration for `foo(bar(T), U)':
bad_instance.m:012: error: the second instance type `U' is a type variable;
bad_instance.m:012: it should be a type constructor applied to zero or more
bad_instance.m:012: type variables.
bad_instance.m:016: In instance declaration for `foo(bar(T), T)':
bad_instance.m:016: error: the second instance type `T' is a type variable;
bad_instance.m:016: it should be a type constructor applied to zero or more
bad_instance.m:016: type variables.