[commit: ghc] master: Remove redundant SOURCE import (23956b2)

git at git.haskell.org git at git.haskell.org
Fri Oct 26 17:31:12 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/23956b2ada690c78a134fe6d149940c777c7efcc/ghc

>---------------------------------------------------------------

commit 23956b2ada690c78a134fe6d149940c777c7efcc
Author: Simon Jakobi <simon.jakobi at gmail.com>
Date:   Tue Oct 23 10:53:22 2018 +0200

    Remove redundant SOURCE import


>---------------------------------------------------------------

23956b2ada690c78a134fe6d149940c777c7efcc
 compiler/prelude/PrelInfo.hs          | 2 +-
 compiler/typecheck/TcTypeNats.hs-boot | 5 -----
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/compiler/prelude/PrelInfo.hs b/compiler/prelude/PrelInfo.hs
index a76a78a..aab23de 100644
--- a/compiler/prelude/PrelInfo.hs
+++ b/compiler/prelude/PrelInfo.hs
@@ -70,7 +70,7 @@ import Class
 import TyCon
 import UniqFM
 import Util
-import {-# SOURCE #-} TcTypeNats ( typeNatTyCons )
+import TcTypeNats ( typeNatTyCons )
 
 import Control.Applicative ((<|>))
 import Data.List        ( intercalate )
diff --git a/compiler/typecheck/TcTypeNats.hs-boot b/compiler/typecheck/TcTypeNats.hs-boot
deleted file mode 100644
index 12f3e41..0000000
--- a/compiler/typecheck/TcTypeNats.hs-boot
+++ /dev/null
@@ -1,5 +0,0 @@
-module TcTypeNats where
-
-import TyCon (TyCon)
-
-typeNatTyCons :: [TyCon]



More information about the ghc-commits mailing list