
#11076: Demand information of foreign calls is wrong -------------------------------------+------------------------------------- Reporter: luite | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.3 Component: Compiler | Version: 7.10.2 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 luite): Changing the argument demand type from `evalDmd` to `topDmd` (in `MkId.mkFCallId`) fixes the problem for this test case and for GHCJS, and other than a minor (and I think harmless) change in one of the `stranal` test cases doesn't cause any validate issues. I just want to make sure, is this a sane thing to do? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11076#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler