Files
mercury/tests/invalid/bad_instance2.err_exp
Zoltan Somogyi 5a57f28d03 Don't repeat an error explanation.
compiler/check_typeclass.m:
    Delete the verbose_only part of an error message, because it duplicated
    almost exactly the always-printed part of the same error message.

tests/invalid/instance_var_bug.err_exp:
    Don't expect the verbose part.

tests/invalid/bad_instance2.err_exp:
tests/invalid/invalid_instance_declarations.err_exp:
    Don't expect a reminder about the existence of the verbose part.
2023-10-19 16:09:36 +11:00

9 lines
514 B
Plaintext

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