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

AssocTyDef09.hs:8:10: [GHC-87875]
    The line:
          type OtherType a = Int
    defines a default equation for type ‘OtherType’ but ‘OtherType’ itself has not been declared.
    Suggested fix:
      Declare ‘OtherType’ by adding:
            type OtherType a 
      to the class ‘Cls’