summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/T7294.stderr
blob: b4379b10bbd40caa29be532088a24e4ef0534e78 (plain)
1
2
3
4
5
6
7
8

T7294.hs:25:5: Warning:
    Couldn't match type ‘'True’ with ‘'False’
    Inaccessible code in
      a pattern with constructor: Nil :: forall a. Vec a 'Zero,
      in an equation for ‘nth’
    In the pattern: Nil
    In an equation for ‘nth’: nth Nil _ = undefined