summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/T7967.stderr
blob: 44fb064594884598d6ca22bcbf0ee6d8ecd83232 (plain)
1
2
3
4
5
6
7

T7967.hs:31:26:
    Couldn't match type ‘h0 : t0’ with ‘'[]’
    Expected type: Index n l
      Actual type: Index 'Zero (h0 : t0)
    In the expression: IZero
    In an equation for ‘sNatToIndex’: sNatToIndex SZero HNil = IZero