blob: 8d8dff5f8a8db6251786506f80a01d6b22dc806b (
plain)
1
2
3
4
5
6
|
T13847.hs:4:24: error: [GHC-53822]
• 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 = ()}
|