summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod39.stderr
blob: d54a231152ddaf2da99f31df15a5f8478b11e345 (plain)
1
2
3
4
5
6
7

mod39.hs:4:17: error:
    • Constraint ‘Eq a’ in the type of ‘f’
        constrains only the class type variables
      Enable ConstrainedClassMethods to allow it
    • When checking the class method: f :: forall a. (C a, Eq a) => a
      In the class declaration for ‘C’