mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-19 03:13:40 +00:00
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.
9 lines
514 B
Plaintext
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.
|