summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T9222.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/polykinds/T9222.stderr')
-rw-r--r--testsuite/tests/polykinds/T9222.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/polykinds/T9222.stderr b/testsuite/tests/polykinds/T9222.stderr
index dc1b92c202..6e143e0cf9 100644
--- a/testsuite/tests/polykinds/T9222.stderr
+++ b/testsuite/tests/polykinds/T9222.stderr
@@ -4,12 +4,12 @@ T9222.hs:13:3: error:
‘c0’ is untouchable
inside the constraints: a ~ '(b0, c0)
bound by the type of the constructor ‘Want’:
- a ~ '(b0, c0) => Proxy b0
+ (a ~ '(b0, c0)) => Proxy b0
at T9222.hs:13:3
‘c’ is a rigid type variable bound by
the type of the constructor ‘Want’:
forall i1 j1 (a :: (i1, j1)) (b :: i1) (c :: j1).
- (a ~ '(b, c) => Proxy b) -> Want a
+ ((a ~ '(b, c)) => Proxy b) -> Want a
at T9222.hs:13:3
• In the ambiguity check for ‘Want’
To defer the ambiguity check to use sites, enable AllowAmbiguousTypes