summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedrecflds/should_fail/overloadedrecfldsfail07.stderr
blob: 73a1b9b4d8441c399e3d23a4a288a99dcffbc15d (plain)
1
2
3
4
5
6
7

overloadedrecfldsfail07.hs:7:7: error:
    • Couldn't match expected type ‘T’ with actual type ‘T -> Int’
    • Probable cause: ‘x’ is applied to too few arguments
      In the first argument of ‘x’, namely ‘x’
      In the expression: x x
      In an equation for ‘y’: y = x x