summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T19346.stderr
blob: c7978932339ec44d8f64a95f51e64fa503dfd670 (plain)
1
2
3
4
5
6

T19346.hs:6:11: error: [GHC-83865]
    • Couldn't match expected type ‘Int’ with actual type ‘Bool’
    • In the first argument of ‘MkT’, namely ‘x’
      In the expression: MkT x
      In an equation for ‘f’: f x = MkT x