summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/CommonFieldResultTypeMismatch.stderr
blob: 320a978612aaf5c12beaee1967c0a8464b4a0543 (plain)
1
2
3
4
CommonFieldResultTypeMismatch.hs:3:1: [GHC-31004]
     Constructors A1 and A2 have a common field ‘fld’,
        but have different result types
     In the data type declaration for ‘A’