Show: Restore redundant parentheses around records
ClosedPublic

Authored by bgamari on Mar 21 2016, 12:45 PM.

Details

Summary

As discussed in Trac #2530 we are going to continue to produce parentheses
here in order to preserve compatibility with previous GHC releases. It
was found that dropped parentheses would break some testsuites which
compared against output from Show. This has been documented in the users
guide.

This reverts commit 5692643c9d17e746327588cd6157a923642b7975.

Test Plan

Validate

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
bgamari updated this revision to Diff 6989.Mar 21 2016, 12:45 PM
bgamari retitled this revision from to Show: Restore redundant parentheses around records.
bgamari updated this object.
bgamari edited the test plan for this revision. (Show Details)
bgamari added reviewers: hvr, austin.
bgamari updated the Trac tickets for this revision.
This revision was automatically updated to reflect the committed changes.
bgamari edited edge metadata.Mar 24 2016, 1:05 PM
bgamari updated the Trac tickets for this revision.