summaryrefslogtreecommitdiff
path: root/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr
blob: 77d93e87ff01b00ef3d783e98fe56f44027b743e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

NoMatchErr.hs:20:5:
    Could not deduce (Memo d ~ Memo d0)
    from the context (Fun d)
      bound by the type signature for f :: Fun d => Memo d a -> Memo d a
      at NoMatchErr.hs:20:1-15
    NB: `Memo' is a type function, and may not be injective
    The type variable `d0' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    Expected type: Memo d a -> Memo d a
      Actual type: Memo d0 a -> Memo d0 a
    In the expression: abst . appl
    In an equation for `f': f = abst . appl