
#11383: CAFs lose sharing due to implicit call stacks -------------------------------------+------------------------------------- Reporter: simonmar | Owner: gridaphobe Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 8.0.1-rc1 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 simonmar): We may or may not consider this a bug, so I'm reporting it for discussion. Arguably it's the same as using any overloaded function in a CAF together with `NoMonomorphismRestriction`, the surprising bit is that `error` is now "overloaded". -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11383#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler