summaryrefslogtreecommitdiff
path: root/compiler/GHC/Hs
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krzysztof.gogolewski@tweag.io>2020-02-29 18:29:17 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-02 01:18:33 -0500
commit3cf7303bf39bca734bd87f0f42872f1a4025fa34 (patch)
treebc6f7c176e53396b61314191a969b3f0f70c2de0 /compiler/GHC/Hs
parent3979485bd97771373214c44d14b7830ba447ad23 (diff)
downloadhaskell-3cf7303bf39bca734bd87f0f42872f1a4025fa34.tar.gz
Remove dead code
* The names in PrelName and THNames are no longer used since TH merged types and kinds, Typeable is kind-polymorphic, .net support was removed * unqualQuasiQuote no longer used since 6f8ff0bbad3b9fa3
Diffstat (limited to 'compiler/GHC/Hs')
-rw-r--r--compiler/GHC/Hs/Utils.hs7
1 files changed, 1 insertions, 6 deletions
diff --git a/compiler/GHC/Hs/Utils.hs b/compiler/GHC/Hs/Utils.hs
index 3864164263..ac157d4caf 100644
--- a/compiler/GHC/Hs/Utils.hs
+++ b/compiler/GHC/Hs/Utils.hs
@@ -77,7 +77,7 @@ module GHC.Hs.Utils(
-- * Template Haskell
mkUntypedSplice, mkTypedSplice,
- mkHsQuasiQuote, unqualQuasiQuote,
+ mkHsQuasiQuote,
-- * Collecting binders
isUnliftedHsBind, isBangedHsBind,
@@ -367,11 +367,6 @@ mkHsQuasiQuote :: RdrName -> SrcSpan -> FastString -> HsSplice GhcPs
mkHsQuasiQuote quoter span quote
= HsQuasiQuote noExtField unqualSplice quoter span quote
-unqualQuasiQuote :: RdrName
-unqualQuasiQuote = mkRdrUnqual (mkVarOccFS (fsLit "quasiquote"))
- -- A name (uniquified later) to
- -- identify the quasi-quote
-
mkHsString :: String -> HsLit (GhcPass p)
mkHsString s = HsString NoSourceText (mkFastString s)