summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T7438.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T7438.stderr')
-rw-r--r--testsuite/tests/polykinds/T7438.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/polykinds/T7438.stderr b/testsuite/tests/polykinds/T7438.stderr
index da55bb4d00..a198657754 100644
--- a/testsuite/tests/polykinds/T7438.stderr
+++ b/testsuite/tests/polykinds/T7438.stderr
@@ -1,19 +1,19 @@
T7438.hs:6:14: error:
- • Couldn't match expected type ‘p’ with actual type ‘p1’
- ‘p’ is untouchable
+ • Couldn't match expected type ‘p1’ with actual type ‘p’
+ ‘p1’ is untouchable
inside the constraints: b ~ a
bound by a pattern with constructor:
Nil :: forall k (a :: k). Thrist a a,
in an equation for ‘go’
at T7438.hs:6:4-6
- ‘p’ is a rigid type variable bound by
- the inferred type of go :: Thrist a b -> p1 -> p at T7438.hs:6:1-16
‘p1’ is a rigid type variable bound by
- the inferred type of go :: Thrist a b -> p1 -> p at T7438.hs:6:1-16
+ the inferred type of go :: Thrist a b -> p -> p1 at T7438.hs:6:1-16
+ ‘p’ is a rigid type variable bound by
+ the inferred type of go :: Thrist a b -> p -> p1 at T7438.hs:6:1-16
Possible fix: add a type signature for ‘go’
• In the expression: acc
In an equation for ‘go’: go Nil acc = acc
• Relevant bindings include
- acc :: p1 (bound at T7438.hs:6:8)
- go :: Thrist a b -> p1 -> p (bound at T7438.hs:6:1)
+ acc :: p (bound at T7438.hs:6:8)
+ go :: Thrist a b -> p -> p1 (bound at T7438.hs:6:1)