blob: 3100928e518fdf72f659d3404344beb291d2a9b7 (
plain)
1
2
3
4
5
6
|
T7943.hs:4:22: error: [GHC-89246]
• Record syntax is illegal here: {bar :: String}
• In the type ‘{bar :: String}’
In the definition of data constructor ‘B’
In the data declaration for ‘Foo’
|