KnownUniques: Handle DataCon wrapper names
authorBen Gamari <bgamari.foss@gmail.com>
Tue, 1 Aug 2017 02:33:24 +0000 (22:33 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 1 Aug 2017 12:57:15 +0000 (08:57 -0400)
commit5a7af95ad2ce38e4b80893d869948c630454683b
tree7453c3d488fa6b7292166e864dd2114e4f68367b
parent7a74f5053fa0972b8ce191f7492e1692f09c2e1d
KnownUniques: Handle DataCon wrapper names

For some reason these weren't handled. I seem to remember thinking I had
a reason for omitting them when writing the original patch, but I don't
recall what that reason was at this point and clearly workers do show up
in interface files.

Test Plan: Validate against T14051

Reviewers: austin

Subscribers: rwbarton, thomie, RyanGlScott

GHC Trac Issues: #14051

Differential Revision: https://phabricator.haskell.org/D3805
compiler/prelude/KnownUniques.hs
testsuite/tests/unboxedsums/T14051.hs [new file with mode: 0644]
testsuite/tests/unboxedsums/T14051a.hs [new file with mode: 0644]
testsuite/tests/unboxedsums/all.T