Permalink
Browse files

dissallow newtype deriving

  • Loading branch information...
1 parent 1a09896 commit 55d78d60613374a596967f9b9fe8cc54d62a1050 @mikeplus64 committed Jan 28, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/Language/Haskell/Repl.hs
View
3 src/Language/Haskell/Repl.hs
@@ -164,7 +164,6 @@ defaultExtensions
,Opt_PolyKinds
,Opt_TypeFamilies
,Opt_TypeOperators
- ,Opt_GeneralizedNewtypeDeriving
,Opt_DeriveFunctor
,Opt_DeriveDataTypeable
,Opt_OverloadedStrings
@@ -256,7 +255,7 @@ repl' imports exts inp out wait ewait len = do
session = do
s <- getProgramDynFlags
_ <- setSessionDynFlags
- $ (\d -> d { safeHaskell = Sf_SafeInferred })
+ $ (\d -> d { safeHaskell = Sf_Safe })
. flip dopt_set Opt_DoCoreLinting
$ getExts exts s

0 comments on commit 55d78d6

Please sign in to comment.