summaryrefslogtreecommitdiff
path: root/testsuite/tests/deriving/should_run/T9576.stderr
blob: 78f979a54d3436cc9e726b31db518b390f4de457 (plain)
1
2
3
4
5
6
7
8
9
10
11
T9576.exe: T9576.hs:6:31: error: [GHC-39999]
    • 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)