Levity polymorphic expressions mustn't be floated-out in let-bindings.
authorSylvain Henry <sylvain@haskus.fr>
Thu, 1 Dec 2016 17:24:34 +0000 (12:24 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 1 Dec 2016 17:24:35 +0000 (12:24 -0500)
commit514c01eec5f2b23f278c29b61345dce6c37900f1
tree5ef25752151d352ed69d0c43fc30982eeb0c393b
parentf48f5a9ebf384e1e157b7b413e1d779f4289ddd2
Levity polymorphic expressions mustn't be floated-out in let-bindings.

Reviewers: simonpj, austin, bgamari

Reviewed By: simonpj, bgamari

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2769

GHC Trac Issues: #12901
compiler/simplCore/SetLevels.hs