Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

dissallow newtype deriving

  • Loading branch information...
commit 55d78d60613374a596967f9b9fe8cc54d62a1050 1 parent 1a09896
Mike Ledger authored

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. +1 2  src/Language/Haskell/Repl.hs
3  src/Language/Haskell/Repl.hs
@@ -164,7 +164,6 @@ defaultExtensions
164 164 ,Opt_PolyKinds
165 165 ,Opt_TypeFamilies
166 166 ,Opt_TypeOperators
167   - ,Opt_GeneralizedNewtypeDeriving
168 167 ,Opt_DeriveFunctor
169 168 ,Opt_DeriveDataTypeable
170 169 ,Opt_OverloadedStrings
@@ -256,7 +255,7 @@ repl' imports exts inp out wait ewait len = do
256 255 session = do
257 256 s <- getProgramDynFlags
258 257 _ <- setSessionDynFlags
259   - $ (\d -> d { safeHaskell = Sf_SafeInferred })
  258 + $ (\d -> d { safeHaskell = Sf_Safe })
260 259 . flip dopt_set Opt_DoCoreLinting
261 260 $ getExts exts s
262 261

0 comments on commit 55d78d6

Please sign in to comment.
Something went wrong with that request. Please try again.