diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-04-19 18:32:29 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-04-19 18:32:29 +0200 |
commit | 91ee5090f1e3f43e9e803cf7005a7f3357e58377 (patch) | |
tree | 871bc8a3e8c797eabbdec401aaf3c7cc19d99405 /libraries | |
parent | 81e227929c15ad82f6f67a7390ee140da85eefdb (diff) | |
download | haskell-91ee5090f1e3f43e9e803cf7005a7f3357e58377.tar.gz |
Mark GHC.Stack.Types Trustworthy
GHC can't infer this module safe due to the `GHC.Types (Char, Int)`
and the (dummy) `GHC.Integer ()` import.
If only `GHC.Types` was marked Trustworthy or Safe...
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/base/GHC/Stack/Types.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/base/GHC/Stack/Types.hs b/libraries/base/GHC/Stack/Types.hs index 33b24a4af6..29be6d6e8d 100644 --- a/libraries/base/GHC/Stack/Types.hs +++ b/libraries/base/GHC/Stack/Types.hs @@ -4,6 +4,7 @@ {-# LANGUAGE KindSignatures #-} {-# LANGUAGE PolyKinds #-} {-# LANGUAGE RankNTypes #-} +{-# LANGUAGE Trustworthy #-} {-# OPTIONS_HADDOCK hide #-} -- we hide this module from haddock to enforce GHC.Stack as the main @@ -49,7 +50,7 @@ import cycle, -} import GHC.Classes (Eq) -import GHC.Types +import GHC.Types (Char, Int) -- Make implicit dependency known to build system import GHC.Tuple () |