summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics/GenCannotDoRep0_0.stderr
blob: 04c03697b3cb2a6dc3f24135fb0d07819de26ed9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

GenCannotDoRep0_0.hs:6:14: warning: [-Wdeprecated-flags (in -Wdefault)]
    -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.

GenCannotDoRep0_0.hs:13:45: error: [GHC-16437]
    • Can't make a derived instance of ‘Generic Dynamic’:
        Constructor ‘Dynamic’ has existential type variables in its type
    • In the data declaration for ‘Dynamic’
    Suggested fix: Use a standalone deriving declaration instead

GenCannotDoRep0_0.hs:28:1: error: [GHC-30367]
    • Can't make a derived instance of ‘Generic (D Int a)’:
        D must not have a datatype context
    • In the stand-alone deriving instance for ‘Generic (D Int a)’