Pretty: remove a harmful $! (#12227)
authorThomas Miedema <thomasmiedema@gmail.com>
Sat, 16 Jul 2016 22:13:45 +0000 (00:13 +0200)
committerBen Gamari <ben@smart-cactus.org>
Thu, 25 Aug 2016 14:12:46 +0000 (10:12 -0400)
commit2756af87aebee769ffca959adc4b9dc607a49fdb
tree8cd40d5bc2b3281166d1bba7feffb4281ea71b71
parent1c53ac17ee8716ec07d782079462f4218d8f0606
Pretty: remove a harmful $! (#12227)

This is backport of [1] for GHC's copy of Pretty. See Note [Differences
between libraries/pretty and compiler/utils/Pretty.hs].

[1] http://git.haskell.org/packages/pretty.git/commit/bbe9270c5f849a5bb74c9166a5f4202cfb0dba22
    https://github.com/haskell/pretty/issues/32
    https://github.com/haskell/pretty/pull/35

Reviewers: bgamari, austin

Reviewed By: austin

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

GHC Trac Issues: #12227

(cherry picked from commit 89a8be71a3715c948cebcb19ac81f84da0e6270e)
compiler/utils/Pretty.hs
testsuite/tests/perf/compiler/T12227.hs [new file with mode: 0644]
testsuite/tests/perf/compiler/all.T