summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail182.stderr
blob: dfc57e2a033830ef27a56d3362d97e71e6097797 (plain)
1
2
3
4
5
6
7
8
9
10
11

tcfail182.hs:9:3:
    Couldn't match expected type ‘Prelude.Maybe a’
                with actual type ‘Maybe t0’
    NB: ‘Prelude.Maybe’
          is defined in ‘GHC.Base’ in package ‘base-4.8.0.0’
        ‘Maybe’ is defined at tcfail182.hs:6:1-18
    Relevant bindings include
      f :: Prelude.Maybe a -> Int (bound at tcfail182.hs:9:1)
    In the pattern: Foo
    In an equation for ‘f’: f Foo = 3