diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr index 30595d68aa..3dba70418f 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr @@ -1,3 +1,9 @@ -AssocTyDef07.hs:5:10: error: [GHC-54721] - ‘Typ’ is not a (visible) associated type of class ‘Cls’ +AssocTyDef07.hs:5: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 |