diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T22648v_ql.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/T22648v_ql.stderr | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T22648v_ql.stderr b/testsuite/tests/typecheck/should_fail/T22648v_ql.stderr new file mode 100644 index 0000000000..1283f0107b --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/T22648v_ql.stderr @@ -0,0 +1,23 @@ + +T22648v_ql.hs:14:16: error: [GHC-25115] + • Visibility of forall-bound variables is not compatible + Expected: forall j. j -> * + Actual: forall k -> k -> * + • In the type ‘V’ + In the expression: f @V MkV + In an equation for ‘bad_tyapp’: bad_tyapp = f @V MkV + +T22648v_ql.hs:17:15: error: [GHC-91028] + • Expected kind ‘forall j. j -> *’, but ‘_’ has kind ‘k0’ + Cannot instantiate unification variable ‘k0’ + with a kind involving polytypes: forall j. j -> * + • In the expression: f @_ MkV + In an equation for ‘bad_wild’: bad_wild = f @_ MkV + +T22648v_ql.hs:20:15: error: [GHC-25115] + • Visibility of forall-bound variables is not compatible + Expected: forall j. j -> * + Actual: forall k -> k -> * + • In the first argument of ‘f’, namely ‘MkV’ + In the expression: f MkV + In an equation for ‘bad_infer’: bad_infer = f MkV |