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

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