#14290: Strictness bug with existential contexts on data constructors -------------------------------------+------------------------------------- Reporter: simonmar | Owner: (none) Type: bug | Status: new Priority: highest | Milestone: 8.2.2 Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect result | Unknown/Multiple at runtime | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4040 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"5935acdb1302263011c2023d5e7f4ec496c972c0/ghc" 5935acd/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="5935acdb1302263011c2023d5e7f4ec496c972c0" mkDataConRep: fix bug in strictness signature (#14290) The strictness signature for a data con wrapper wasn't including any dictionary arguments, which meant that bangs on the fields of a constructor with an existential context would be moved to the wrong fields. See T14290 for an example. Test Plan: * New test T14290 * validate Reviewers: simonpj, niteria, austin, bgamari, erikd Reviewed By: simonpj, bgamari Subscribers: rwbarton, thomie GHC Trac Issues: #14290 Differential Revision: https://phabricator.haskell.org/D4040 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14290#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler