Commit 91ee5090 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺
Browse files

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...
parent 81e22792
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
{-# LANGUAGE KindSignatures #-} {-# LANGUAGE KindSignatures #-}
{-# LANGUAGE PolyKinds #-} {-# LANGUAGE PolyKinds #-}
{-# LANGUAGE RankNTypes #-} {-# LANGUAGE RankNTypes #-}
{-# LANGUAGE Trustworthy #-}
{-# OPTIONS_HADDOCK hide #-} {-# OPTIONS_HADDOCK hide #-}
-- we hide this module from haddock to enforce GHC.Stack as the main -- we hide this module from haddock to enforce GHC.Stack as the main
...@@ -49,7 +50,7 @@ import cycle, ...@@ -49,7 +50,7 @@ import cycle,
-} -}
import GHC.Classes (Eq) import GHC.Classes (Eq)
import GHC.Types import GHC.Types (Char, Int)
-- Make implicit dependency known to build system -- Make implicit dependency known to build system
import GHC.Tuple () import GHC.Tuple ()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment