summaryrefslogtreecommitdiff
path: root/compiler/ghci
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/ghci
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/ghci')
-rw-r--r--compiler/ghci/ByteCodeGen.hs2
-rw-r--r--compiler/ghci/Linker.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler/ghci/ByteCodeGen.hs b/compiler/ghci/ByteCodeGen.hs
index de5b84e464..ae453c0ccd 100644
--- a/compiler/ghci/ByteCodeGen.hs
+++ b/compiler/ghci/ByteCodeGen.hs
@@ -1154,7 +1154,7 @@ maybe_is_tagToEnum_call app
isDataTyCon tyc
= map (getName . dataConWorkId) (tyConDataCons tyc)
-- NOTE: use the worker name, not the source name of
- -- the DataCon. See DataCon.lhs for details.
+ -- the DataCon. See DataCon.hs for details.
| otherwise
= pprPanic "maybe_is_tagToEnum_call.extract_constr_Ids" (ppr ty)
diff --git a/compiler/ghci/Linker.hs b/compiler/ghci/Linker.hs
index 5a32d0761d..0e36cd9d20 100644
--- a/compiler/ghci/Linker.hs
+++ b/compiler/ghci/Linker.hs
@@ -1105,7 +1105,7 @@ linkPackage dflags pkg
let hs_libs = Packages.hsLibraries pkg
-- The FFI GHCi import lib isn't needed as
- -- compiler/ghci/Linker.lhs + rts/Linker.c link the
+ -- compiler/ghci/Linker.hs + rts/Linker.c link the
-- interpreted references to FFI to the compiled FFI.
-- We therefore filter it out so that we don't get
-- duplicate symbol errors.