blob: 52edbf5acf7ec7558b99fd49db2be4b58e79227e (
plain)
1
2
3
4
5
6
|
T13847.hs:4:24: error:
• Constructor ‘A.A’ does not have field ‘foo’
• In the second argument of ‘($)’, namely ‘A.A {foo = ()}’
In the second argument of ‘($)’, namely ‘A.foo $ A.A {foo = ()}’
In the expression: print $ A.foo $ A.A {foo = ()}
|