StgLint: Allow join point bindings of unlifted type
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 22 Aug 2017 12:44:47 +0000 (08:44 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 22 Aug 2017 15:09:05 +0000 (11:09 -0400)
commit9afaebefe5e59c8e9632f381bee14aa84b44c955
tree80413c85d5726b41cd0987e1644fbbf65362b58e
parent4717ce8658f12f425aebd1fc7f7ad8fe04a81df5
StgLint: Allow join point bindings of unlifted type

As described in `Note [CoreSyn let/app invariant]` this is allowed.

Fixes #14117.

Test Plan: Build GHC with BuildFlavour=devel2 with -dstg-lint

Reviewers: austin, simonpj

Reviewed By: simonpj

Subscribers: rwbarton, thomie

GHC Trac Issues: #14117

Differential Revision: https://phabricator.haskell.org/D3857
compiler/stgSyn/StgLint.hs