Add a `NOINLINE` pragma on `someNatVal` (#16586)
authorIavor Diatchki <iavor.diatchki@gmail.com>
Tue, 7 May 2019 20:02:27 +0000 (13:02 -0700)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Fri, 24 May 2019 02:39:35 +0000 (22:39 -0400)
commit59f4cb6fb73ade6f9b0bdc85380dfddba93bf14b
tree8ab925cad228682295170df9208856fc33b9f3b8
parent0b449d3415543771779a74f8d867eb1a4748ddb2
Add a `NOINLINE` pragma on `someNatVal` (#16586)

This fixes #16586, see `Note [NOINLINE someNatVal]` for details.
libraries/base/GHC/TypeLits.hs
libraries/base/GHC/TypeNats.hs
testsuite/tests/lib/base/T16586.hs [new file with mode: 0644]
testsuite/tests/lib/base/T16586.stdout [new file with mode: 0644]
testsuite/tests/lib/base/all.T [new file with mode: 0644]