summaryrefslogtreecommitdiff
path: root/compiler/coreSyn
diff options
context:
space:
mode:
authorDr. ERDI Gergo <gergo@erdi.hu>2014-05-27 21:16:41 +0800
committerDr. ERDI Gergo <gergo@erdi.hu>2014-05-27 21:16:41 +0800
commitac2796e6ddbd54c5762c53e2fcf29f20ea162fd5 (patch)
tree002086b2b11ad8ea9dad8dc44bcc769999332329 /compiler/coreSyn
parent6ed54303e2d3f1ef19df1312331a1740eca3ccdc (diff)
downloadhaskell-ac2796e6ddbd54c5762c53e2fcf29f20ea162fd5.tar.gz
Store IfExtNames for PatSyn matchers and wrappers in interface file.
This way, the Ids for the matchers/wrappers are reused by importing modules, and thus unfoldings are kept. Also updates haddock submodule to accomodate tweaks in PatSyn representation
Diffstat (limited to 'compiler/coreSyn')
-rw-r--r--compiler/coreSyn/CorePrep.lhs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/coreSyn/CorePrep.lhs b/compiler/coreSyn/CorePrep.lhs
index 60cb60eda1..c754aae4e7 100644
--- a/compiler/coreSyn/CorePrep.lhs
+++ b/compiler/coreSyn/CorePrep.lhs
@@ -196,6 +196,7 @@ corePrepTopBinds initialCorePrepEnv binds
mkDataConWorkers :: [TyCon] -> [CoreBind]
-- See Note [Data constructor workers]
+-- c.f. Note [Injecting implicit bindings] in TidyPgm
mkDataConWorkers data_tycons
= [ NonRec id (Var id) -- The ice is thin here, but it works
| tycon <- data_tycons, -- CorePrep will eta-expand it