[commit: ghc] master: Pretty-print # on unboxed literals in core (89458eb)
git at git.haskell.org
git at git.haskell.org
Tue Mar 3 13:25:53 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/89458eba5721de1b6b3378415f26e110bab8cc0f/ghc
>---------------------------------------------------------------
commit 89458eba5721de1b6b3378415f26e110bab8cc0f
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Tue Mar 3 07:21:32 2015 -0600
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
>---------------------------------------------------------------
89458eba5721de1b6b3378415f26e110bab8cc0f
compiler/basicTypes/Literal.hs | 67 ++++++++++++++++------
compiler/hsSyn/HsLit.hs | 17 +++---
compiler/prelude/PrelRules.hs | 10 ++--
compiler/utils/Outputable.hs | 27 ++++++++-
.../tests/deriving/should_run/drvrun017.stdout | 2 +-
testsuite/tests/simplCore/should_compile/Makefile | 8 ++-
.../tests/simplCore/should_compile/T3055.stdout | 2 +-
.../tests/simplCore/should_compile/T3717.stderr | 4 +-
.../tests/simplCore/should_compile/T3772.stdout | 7 ++-
.../tests/simplCore/should_compile/T4908.stderr | 12 ++--
.../tests/simplCore/should_compile/T4918.stdout | 4 +-
.../tests/simplCore/should_compile/T4930.stderr | 10 ++--
.../tests/simplCore/should_compile/T7360.stderr | 6 +-
testsuite/tests/simplCore/should_compile/T8274.hs | 10 ++++
.../tests/simplCore/should_compile/T8274.stdout | 2 +
.../tests/simplCore/should_compile/T8832.stdout | 20 +++----
.../simplCore/should_compile/T8832.stdout-ws-32 | 16 +++---
testsuite/tests/simplCore/should_compile/all.T | 3 +-
.../simplCore/should_compile/spec-inline.stderr | 34 +++++------
19 files changed, 169 insertions(+), 92 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 89458eba5721de1b6b3378415f26e110bab8cc0f
More information about the ghc-commits
mailing list