summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadt11.stderr
blob: 1dba9b0a403d266bc7c864b9b1e0e097142349b0 (plain)
1
2
3
4
5
6

gadt11.hs:12:3: error:
    Data constructor ‘L2’ returns type ‘T1 Bool’
      instead of an instance of its parent type ‘T2 a’
    In the definition of data constructor ‘L2’
    In the data type declaration for ‘T2’