summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2017-01-06 15:08:47 -0300
committerFacundo Domínguez <facundo.dominguez@tweag.io>2017-01-06 15:08:47 -0300
commitc5452cc1a67e344ea694851d83e2534a6d829e45 (patch)
treeb6540b8108016d78b68b0197a1dc5f8e8bb353f4 /libraries
parent54227a45352903e951b81153f798162264f02ad9 (diff)
downloadhaskell-c5452cc1a67e344ea694851d83e2534a6d829e45.tar.gz
Revert "Have addModFinalizer expose the local type environment."
This reverts commit e5d1ed9c8910839e109da59820ca793642961284.
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/GHC/StaticPtr/Internal.hs24
-rw-r--r--libraries/base/base.cabal1
2 files changed, 0 insertions, 25 deletions
diff --git a/libraries/base/GHC/StaticPtr/Internal.hs b/libraries/base/GHC/StaticPtr/Internal.hs
deleted file mode 100644
index e75dfe8994..0000000000
--- a/libraries/base/GHC/StaticPtr/Internal.hs
+++ /dev/null
@@ -1,24 +0,0 @@
--- |
--- Module : GHC.StaticPtr
--- Copyright : (C) 2016 I/O Tweag
--- License : see libraries/base/LICENSE
---
--- Maintainer : cvs-ghc@haskell.org
--- Stability : internal
--- Portability : non-portable (GHC Extensions)
---
--- Internal definitions not to be used by the user of StaticPtr's.
-
--- By ignoring interface pragmas, we drop the stricness annotations
--- of 'error', which otherwise biase GHC to conclude that any code
--- using the static form would fail.
-{-# OPTIONS_GHC -fignore-interface-pragmas #-}
-module GHC.StaticPtr.Internal (makeStatic) where
-
-import GHC.StaticPtr(StaticPtr, StaticPtrInfo(..))
-
-{-# NOINLINE makeStatic #-}
-makeStatic :: StaticPtrInfo -> a -> StaticPtr a
-makeStatic (StaticPtrInfo pkg m (line, col)) _ =
- error $ "makeStatic: Unresolved static form at " ++ pkg ++ ":" ++ m ++ ":"
- ++ show line ++ ":" ++ show col
diff --git a/libraries/base/base.cabal b/libraries/base/base.cabal
index a4f0c7d990..22df434381 100644
--- a/libraries/base/base.cabal
+++ b/libraries/base/base.cabal
@@ -312,7 +312,6 @@ Library
Data.Functor.Utils
Data.OldList
Foreign.ForeignPtr.Imp
- GHC.StaticPtr.Internal
System.Environment.ExecutablePath
System.CPUTime.Utils