diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr index 546803fcde..0aa62b1e37 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr @@ -1,3 +1,9 @@ -AssocTyDef01.hs:9:10: error: [GHC-54721] - ‘OtherType’ is not a (visible) associated type of class ‘Cls’ +AssocTyDef01.hs:9: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’
\ No newline at end of file |