
No, that'll be fine: the occurrence analyser runs before each pass of
#11770: Demand analysis: Wrong one-shot annotation due to fixed-point iteration -------------------------------------+------------------------------------- Reporter: nomeata | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by nomeata): the simplifier. Aha, the OccurAnal code actually looks at `idDemandInfo` of a let-bound expression. Didn’t know that, but it makes sense now. I’ll add that to the relevant note.
Good point! Please comment this prominently with updOneShotInfo.
Done, in `wip/T11770` for now. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11770#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler