diff options
Diffstat (limited to 'testsuite/tests/deriving/should_run/T9576.stderr')
-rw-r--r-- | testsuite/tests/deriving/should_run/T9576.stderr | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/tests/deriving/should_run/T9576.stderr b/testsuite/tests/deriving/should_run/T9576.stderr index 49d41a3a36..8a28897c6b 100644 --- a/testsuite/tests/deriving/should_run/T9576.stderr +++ b/testsuite/tests/deriving/should_run/T9576.stderr @@ -1,11 +1,11 @@ T9576: T9576.hs:6:31: error: - No instance for (Show Foo) arising from a use of ‘showsPrec’ - In the second argument of ‘(.)’, namely ‘(showsPrec 11 b1)’ - In the second argument of ‘showParen’, namely - ‘((.) (showString "MkBar ") (showsPrec 11 b1))’ - In the expression: - showParen (a >= 11) ((.) (showString "MkBar ") (showsPrec 11 b1)) - When typechecking the code for ‘showsPrec’ - in a derived instance for ‘Show Bar’: - To see the code I am typechecking, use -ddump-deriv + • No instance for ‘Show Foo’ arising from a use of ‘showsPrec’ + • In the second argument of ‘(.)’, namely ‘(showsPrec 11 b1)’ + In the second argument of ‘showParen’, namely + ‘((.) (showString "MkBar ") (showsPrec 11 b1))’ + In the expression: + showParen (a >= 11) ((.) (showString "MkBar ") (showsPrec 11 b1)) + When typechecking the code for ‘showsPrec’ + in a derived instance for ‘Show Bar’: + To see the code I am typechecking, use -ddump-deriv (deferred type error) |