summaryrefslogtreecommitdiff
path: root/testsuite/tests/safeHaskell/ghci/p16.stderr
blob: 9540119eae4948bde9385c910d724316cb3051f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

<no location info>: warning:
    -XGeneralizedNewtypeDeriving is not allowed in Safe Haskell; ignoring -XGeneralizedNewtypeDeriving

<interactive>:16:29: error:
    Can't make a derived instance of ‘Op T2’:
      ‘Op’ is not a derivable class
      Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension
    In the newtype declaration for ‘T2’

<interactive>:19:9: error:
    Data constructor not in scope: T2 :: T -> t
    Perhaps you meant ‘T1’ (line 13)

<interactive>:22:4: error: Variable not in scope: y