summaryrefslogtreecommitdiff
path: root/compiler/specialise/SpecConstr.hs
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/specialise/SpecConstr.hs
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/specialise/SpecConstr.hs')
-rw-r--r--compiler/specialise/SpecConstr.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/specialise/SpecConstr.hs b/compiler/specialise/SpecConstr.hs
index 9b24604404..64e2cd1c14 100644
--- a/compiler/specialise/SpecConstr.hs
+++ b/compiler/specialise/SpecConstr.hs
@@ -1836,13 +1836,13 @@ argToPat env in_scope val_env (Tick _ arg) arg_occ
argToPat env in_scope val_env (Let _ arg) arg_occ
= argToPat env in_scope val_env arg arg_occ
- -- See Note [Matching lets] in Rule.lhs
+ -- See Note [Matching lets] in Rule.hs
-- Look through let expressions
-- e.g. f (let v = rhs in (v,w))
-- Here we can specialise for f (v,w)
-- because the rule-matcher will look through the let.
-{- Disabled; see Note [Matching cases] in Rule.lhs
+{- Disabled; see Note [Matching cases] in Rule.hs
argToPat env in_scope val_env (Case scrut _ _ [(_, _, rhs)]) arg_occ
| exprOkForSpeculation scrut -- See Note [Matching cases] in Rule.hhs
= argToPat env in_scope val_env rhs arg_occ