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

T7294.hs:25:5: Warning:
    Couldn't match type ‘'False’ with ‘'True’
    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