diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr index 1d2494243e..e51fae1abd 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr @@ -1,3 +1,9 @@ -AssocTyDef08.hs:4:10: error: [GHC-54721] - ‘Typ’ is not a (visible) associated type of class ‘Cls’ +AssocTyDef08.hs:4:10: [GHC-87875] + The line: + type Typ a = Int + defines a default equation for type ‘Typ’ but ‘Typ’ itself has not been declared. + Suggested fix: + Declare ‘Typ’ by adding: + type Typ a + to the class ‘Cls’
\ No newline at end of file |