diff options
Diffstat (limited to 'testsuite/tests/dependent/should_fail/T17541b.stderr')
-rw-r--r-- | testsuite/tests/dependent/should_fail/T17541b.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/dependent/should_fail/T17541b.stderr b/testsuite/tests/dependent/should_fail/T17541b.stderr new file mode 100644 index 0000000000..7502f21373 --- /dev/null +++ b/testsuite/tests/dependent/should_fail/T17541b.stderr @@ -0,0 +1,10 @@ + +T17541b.hs:8:20: error: + • Expected kind ‘k’, but ‘Int’ has kind ‘*’ + • In the second argument of ‘T’, namely ‘Int’ + In the type ‘T Type Int’ + In the definition of data constructor ‘MkT1’ + NB: Type ‘T’ was inferred to use visible dependent quantification. + Most types with visible dependent quantification are + polymorphically recursive and need a standalone kind + signature. Perhaps supply one, with StandaloneKindSignatures. |