summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T3406.stderr
blob: 70791b2cdc3bb5f605cea8b4362917ba0920b0cb (plain)
1
2
3
4
5
6
7
8
9
10

T3406.hs:11:28: error:
    • Couldn't match type ‘Int’ with ‘a -> Int’
      Expected: a -> ItemColID a b
        Actual: ItemColID a1 b1
    • In the expression: x :: ItemColID a b
      In an equation for ‘get’:
          get (x :: ItemColID a b) = x :: ItemColID a b
    • Relevant bindings include
        get :: ItemColID a b -> a -> ItemColID a b (bound at T3406.hs:11:1)