summaryrefslogtreecommitdiff
path: root/compiler/rename
diff options
context:
space:
mode:
authorYuri de Wit <admin@rodlogic.net>2015-02-09 13:41:02 -0600
committerAustin Seipp <austin@well-typed.com>2015-02-09 21:07:25 -0600
commit83efb985d632d3a351f69cb6ce9dc5232127d545 (patch)
treecbc524c15a509ea299e1aebf78e3092757ecb4f5 /compiler/rename
parenta741e69a230eb6d6e3373ad1fbe53c73b5f95077 (diff)
downloadhaskell-83efb985d632d3a351f69cb6ce9dc5232127d545.tar.gz
Replace .lhs with .hs in compiler comments
Summary: It looks like during .lhs -> .hs switch the comments were not updated. So doing exactly that. Reviewers: austin, jstolarek, hvr, goldfire Reviewed By: austin, jstolarek Subscribers: thomie, goldfire Differential Revision: https://phabricator.haskell.org/D621 GHC Trac Issues: #9986
Diffstat (limited to 'compiler/rename')
-rw-r--r--compiler/rename/RnEnv.hs2
-rw-r--r--compiler/rename/RnPat.hs2
-rw-r--r--compiler/rename/RnSplice.hs4
3 files changed, 4 insertions, 4 deletions
diff --git a/compiler/rename/RnEnv.hs b/compiler/rename/RnEnv.hs
index f7a450414d..b6f12a7dfc 100644
--- a/compiler/rename/RnEnv.hs
+++ b/compiler/rename/RnEnv.hs
@@ -1398,7 +1398,7 @@ newLocalBndrRn :: Located RdrName -> RnM Name
newLocalBndrRn (L loc rdr_name)
| Just name <- isExact_maybe rdr_name
= return name -- This happens in code generated by Template Haskell
- -- See Note [Binders in Template Haskell] in Convert.lhs
+ -- See Note [Binders in Template Haskell] in Convert.hs
| otherwise
= do { unless (isUnqual rdr_name)
(addErrAt loc (badQualBndrErr rdr_name))
diff --git a/compiler/rename/RnPat.hs b/compiler/rename/RnPat.hs
index cdd180bc22..067be99803 100644
--- a/compiler/rename/RnPat.hs
+++ b/compiler/rename/RnPat.hs
@@ -240,7 +240,7 @@ newPatName (LetMk is_top fix_env) rdr_name
-- however, this binding seems to work, and it only exists for
-- the duration of the patterns and the continuation;
-- then the top-level name is added to the global env
- -- before going on to the RHSes (see RnSource.lhs).
+ -- before going on to the RHSes (see RnSource.hs).
{-
Note [View pattern usage]
diff --git a/compiler/rename/RnSplice.hs b/compiler/rename/RnSplice.hs
index e0ebd300ed..e9cf0a5e56 100644
--- a/compiler/rename/RnSplice.hs
+++ b/compiler/rename/RnSplice.hs
@@ -413,7 +413,7 @@ showSplice what before after =
-- | The splice data to be logged
--
--- duplicates code in TcSplice.lhs
+-- duplicates code in TcSplice.hs
data SpliceInfo
= SpliceInfo
{ spliceIsDeclaration :: Bool
@@ -426,7 +426,7 @@ data SpliceInfo
-- | outputs splice information for 2 flags which have different output formats:
-- `-ddump-splices` and `-dth-dec-file`
--
--- This duplicates code in TcSplice.lhs
+-- This duplicates code in TcSplice.hs
traceSplice :: SpliceInfo -> TcM ()
traceSplice sd = do
loc <- case sd of