summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/T12468.stderr
blob: 402a93d82dd73b01f085c90dd507c48acd874e5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

T12468.hs:9:7: error:
    • Found hole: _ :: Int
    • In the expression: _
      In an equation for ‘f’: f I = _
    • Relevant bindings include f :: T a -> a (bound at T12468.hs:9:1)
      Constraints include a ~ Int (from T12468.hs:9:3)
      Valid hole fits include
        maxBound :: forall a. Bounded a => a
          with maxBound @Int
          (imported from ‘Prelude’ at T12468.hs:3:8-13
           (and originally defined in ‘GHC.Enum’))
        minBound :: forall a. Bounded a => a
          with minBound @Int
          (imported from ‘Prelude’ at T12468.hs:3:8-13
           (and originally defined in ‘GHC.Enum’))