summaryrefslogtreecommitdiff
path: root/testsuite/tests/quantified-constraints/T17458.stderr
blob: f77f26efb9e22123fc3facd20ea1ca22d07ff944 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

T17458.hs:32:32: error:
    • Reduction stack overflow; size = 201
      When simplifying the following type: Typeable Void
      Use -freduction-depth=0 to disable this check
      (any upper bound you could choose might fail unpredictably with
       minor updates to GHC, so disabling the check is recommended if
       you're sure that type checking should terminate)
    • In the expression: eqT
      In the expression:
        case eqT of
          Nothing -> False
          Just (Refl :: a :~: Void) -> True
      In an equation for ‘checkZ’:
          checkZ (Z (Z' :: Z' a))
            = case eqT of
                Nothing -> False
                Just (Refl :: a :~: Void) -> True