summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/CustomTypeErrors01.stderr
blob: 18c45a12c08958697c3989da1abe063d7f2a4cf3 (plain)
1
2
3
4
5

CustomTypeErrors01.hs:12:9: error:
    • Values of type 'MyType' cannot be compared for equality.
    • In the expression: x == MyType
      In an equation for ‘err’: err x = x == MyType