summaryrefslogtreecommitdiff
path: root/testsuite/tests/polykinds/T21530a.stderr
blob: 4d504ef90123ef3f24683be0504aa3460a85070e (plain)
1
2
3
4
5
6
7
8

T21530a.hs:9:5: error:
    ā€¢ Couldn't match type: Eq a => a -> String
                     with: a -> String
      Expected: (forall a. Show a => a -> String) -> String
        Actual: (forall a. (Show a, Eq a) => a -> String) -> String
    ā€¢ In the expression: f
      In an equation for ā€˜gā€™: g = f