summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/T11976.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/partial-sigs/should_fail/T11976.stderr')
-rw-r--r--testsuite/tests/partial-sigs/should_fail/T11976.stderr18
1 files changed, 14 insertions, 4 deletions
diff --git a/testsuite/tests/partial-sigs/should_fail/T11976.stderr b/testsuite/tests/partial-sigs/should_fail/T11976.stderr
index f0e2784f6f..28104625e1 100644
--- a/testsuite/tests/partial-sigs/should_fail/T11976.stderr
+++ b/testsuite/tests/partial-sigs/should_fail/T11976.stderr
@@ -1,7 +1,17 @@
+T11976.hs:7:7: error:
+ • Cannot instantiate unification variable ‘a0’
+ with a type involving foralls: Lens w3 w4 w5
+ GHC doesn't yet support impredicative polymorphism
+ • In the expression: undefined :: Lens _ _ _
+ In an equation for ‘foo’: foo = undefined :: Lens _ _ _
+ • Relevant bindings include
+ foo :: Lens w w1 w2 (bound at T11976.hs:7:1)
+
T11976.hs:7:20: error:
- • Illegal polymorphic type: Lens w0 w1
- GHC doesn't yet support impredicative polymorphism
- • In an expression type signature: Lens _ _ _
+ • Expected kind ‘k0 -> *’, but ‘Lens _ _’ has kind ‘*’
+ • In the type ‘Lens _ _ _’
+ In an expression type signature: Lens _ _ _
In the expression: undefined :: Lens _ _ _
- In an equation for ‘foo’: foo = undefined :: Lens _ _ _
+ • Relevant bindings include
+ foo :: Lens w w1 w2 (bound at T11976.hs:7:1)