Pretty-print # on unboxed literals in core
authorThomas Miedema <thomasmiedema@gmail.com>
Tue, 3 Mar 2015 13:21:32 +0000 (07:21 -0600)
committerAustin Seipp <austin@well-typed.com>
Tue, 3 Mar 2015 13:21:33 +0000 (07:21 -0600)
commit89458eba5721de1b6b3378415f26e110bab8cc0f
tree9bdcb564437e6053e1f490cd1892f4df0de9736b
parent5200bdeb26c5ec98739b14b10fc8907296bceeb9
Pretty-print # on unboxed literals in core

Summary:
Ticket #10104 dealt with showing the '#'s on types with unboxed fields. This
commit pretty prints the '#'s on unboxed literals in core output.

Test Plan: simplCore/should_compile/T8274

Reviewers: jstolarek, simonpj, austin

Reviewed By: simonpj, austin

Subscribers: simonpj, thomie

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

GHC Trac Issues: #8274
19 files changed:
compiler/basicTypes/Literal.hs
compiler/hsSyn/HsLit.hs
compiler/prelude/PrelRules.hs
compiler/utils/Outputable.hs
testsuite/tests/deriving/should_run/drvrun017.stdout
testsuite/tests/simplCore/should_compile/Makefile
testsuite/tests/simplCore/should_compile/T3055.stdout
testsuite/tests/simplCore/should_compile/T3717.stderr
testsuite/tests/simplCore/should_compile/T3772.stdout
testsuite/tests/simplCore/should_compile/T4908.stderr
testsuite/tests/simplCore/should_compile/T4918.stdout
testsuite/tests/simplCore/should_compile/T4930.stderr
testsuite/tests/simplCore/should_compile/T7360.stderr
testsuite/tests/simplCore/should_compile/T8274.hs [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/T8274.stdout [new file with mode: 0644]
testsuite/tests/simplCore/should_compile/T8832.stdout
testsuite/tests/simplCore/should_compile/T8832.stdout-ws-32
testsuite/tests/simplCore/should_compile/all.T
testsuite/tests/simplCore/should_compile/spec-inline.stderr