summaryrefslogtreecommitdiff
path: root/testsuite/tests/partial-sigs/should_fail/PatBind3.stderr
blob: 436777b2d870dd28f751613a0159fe83e3f632a3 (plain)
1
2
3
4
5
6
7
8
9

PatBind3.hs:6:12: error:
    • Couldn't match type ‘(Bool, t)’ with ‘Char’
      Expected type: Maybe ((Bool, t) -> Char)
        Actual type: Maybe ((Bool, t) -> (Bool, t))
    • In the expression: Just id
      In a pattern binding: Just foo = Just id
    • Relevant bindings include
        foo :: (Bool, t) -> Char (bound at PatBind3.hs:6:6)