Commit 90686adf authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
Browse files

Comments only

parent 26f164e5
......@@ -1272,7 +1272,7 @@ calcSpecStrictness fn qvars pats
Note [Specialise original body]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The RhsInfo for a binding keeps the *oringal* body of the binding. We
The RhsInfo for a binding keeps the *original* body of the binding. We
must specialise that, *not* the result of applying specExpr to the RHS
(which is also kept in RhsInfo). Otherwise we end up specialising a
specialised RHS, and that can lead directly to exponential behaviour.
......
......@@ -233,7 +233,11 @@ data TcGblEnv
tcg_rn_imports :: [LImportDecl Name],
-- Keep the renamed imports regardless. They are not
-- voluminous and are needed if you want to report unused imports
tcg_used_rdrnames :: TcRef (Set RdrName),
-- The set of used *imported* (not locally-defined) RdrNames
-- Used only to report unused import declarations
tcg_rn_decls :: Maybe (HsGroup Name),
-- ^ Renamed decls, maybe. @Nothing@ <=> Don't retain renamed
-- decls.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment