summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T8570.stderr
blob: d79ea6581f259c66ca47d38f0bb66addfd09d170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

T8570.hs:6:11: error:
    • Couldn't match expected type ‘Image’ with actual type ‘Field’
    • In the pattern: Image {filepath = x}
      In a pattern binding: Image {filepath = x} = logo
      In the expression: let Image {filepath = x} = logo in x

T8570.hs:6:18: error:
    • Constructor ‘Image’ does not have field ‘filepath’
    • In the pattern: Image {filepath = x}
      In a pattern binding: Image {filepath = x} = logo
      In the expression: let Image {filepath = x} = logo in x