summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T2334A.stderr
blob: ff4e35206f45b5e30d465bd34910101fcc1e4ce8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

T2334A.hs:9:26:
    The constructor of a newtype must have exactly one field
      but ‛F’ has two
    In the definition of data constructor ‛F’
    In the newtype instance declaration for ‛F’

T2334A.hs:10:27:
    The constructor of a newtype must have exactly one field
      but ‛H’ has none
    In the definition of data constructor ‛H’
    In the newtype instance declaration for ‛F’

T2334A.hs:12:15:
    Conflicting family instance declarations:
      F Bool -- Defined at T2334A.hs:12:15
      F Bool -- Defined at T2334A.hs:13:15