mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-18 10:53: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.
26 lines
1.8 KiB
Plaintext
26 lines
1.8 KiB
Plaintext
invalid_instance_declarations.m:017: In instance declaration for `tc(((func) =
|
|
invalid_instance_declarations.m:017: T), int)':
|
|
invalid_instance_declarations.m:017: the first instance type `((func) = T)'
|
|
invalid_instance_declarations.m:017: is a higher order type; it should be a
|
|
invalid_instance_declarations.m:017: type constructor applied to zero or more
|
|
invalid_instance_declarations.m:017: type variables.
|
|
invalid_instance_declarations.m:018: In instance declaration for `tc(t(int),
|
|
invalid_instance_declarations.m:018: int)':
|
|
invalid_instance_declarations.m:018: in the first instance type, one of the
|
|
invalid_instance_declarations.m:018: arguments of the type constructor `t'/1
|
|
invalid_instance_declarations.m:018: is not a type variable, but should be.
|
|
invalid_instance_declarations.m:018: This is the first argument, `int'.
|
|
invalid_instance_declarations.m:019: In instance declaration for `tc(t(int),
|
|
invalid_instance_declarations.m:019: t(int, string))':
|
|
invalid_instance_declarations.m:019: in the first instance type, one of the
|
|
invalid_instance_declarations.m:019: arguments of the type constructor `t'/1
|
|
invalid_instance_declarations.m:019: is not a type variable, but should be.
|
|
invalid_instance_declarations.m:019: This is the first argument, `int'.
|
|
invalid_instance_declarations.m:019: In instance declaration for `tc(t(int),
|
|
invalid_instance_declarations.m:019: t(int, string))':
|
|
invalid_instance_declarations.m:019: in the second instance type, some of the
|
|
invalid_instance_declarations.m:019: arguments of the type constructor `t'/2
|
|
invalid_instance_declarations.m:019: are not type variables, but should be.
|
|
invalid_instance_declarations.m:019: These are the first argument, `int' and
|
|
invalid_instance_declarations.m:019: the second argument, `string'.
|