summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7594.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T7594.stderr')
-rw-r--r--testsuite/tests/polykinds/T7594.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/polykinds/T7594.stderr b/testsuite/tests/polykinds/T7594.stderr
index fc0aa1fcc3..9a75c80ec3 100644
--- a/testsuite/tests/polykinds/T7594.stderr
+++ b/testsuite/tests/polykinds/T7594.stderr
@@ -1,6 +1,6 @@
T7594.hs:37:12: error:
- • Could not deduce: b ~ IO ()
+ • Could not deduce (b ~ IO ())
from the context: (:&:) c0 Real a
bound by a type expected by the context:
forall a. (:&:) c0 Real a => a -> b
@@ -10,8 +10,8 @@ T7594.hs:37:12: error:
‘b’ is a rigid type variable bound by
the inferred type of bar2 :: b
at T7594.hs:37:1-19
- Possible fix: add a type signature for ‘bar2’
• In the first argument of ‘app’, namely ‘print’
In the expression: app print q2
In an equation for ‘bar2’: bar2 = app print q2
• Relevant bindings include bar2 :: b (bound at T7594.hs:37:1)
+ Suggested fix: Consider giving ‘bar2’ a type signature