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

T19346.hs:6:11: error:
    • 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