[GHC] #13699: Pretty printing: Strict record fields are not parenthesized properly
GHC
ghc-devs at haskell.org
Sat May 20 20:29:29 UTC 2017
#13699: Pretty printing: Strict record fields are not parenthesized properly
-------------------------------------+-------------------------------------
Reporter: zyla | Owner: (none)
Type: bug | Status: patch
Priority: low | Milestone:
Component: GHCi | Version: 8.0.1
Resolution: | Keywords: pretty-print
| bang record
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D3587
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"2108460f9211bf5eab98e0f2f3218dcd271eeaad/ghc"
2108460f/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="2108460f9211bf5eab98e0f2f3218dcd271eeaad"
Pretty-print strict record fields from ifaces correctly
We need to use parentheses more when pretty-printing types with bang
patterns within constructors that use record syntax. Fixes #13699.
Test Plan: make test TEST=T13699
Reviewers: austin, bgamari, dfeuer
Reviewed By: dfeuer
Subscribers: dfeuer, rwbarton, thomie
GHC Trac Issues: #13699
Differential Revision: https://phabricator.haskell.org/D3587
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13699#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list