[commit: ghc] master: Add test (only) to assure that #11535 is fixed (1ef7add)

git at git.haskell.org git at git.haskell.org
Sat Feb 20 14:05:16 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/1ef7add01ead4cbe065297f68306d9bc4b456156/ghc

>---------------------------------------------------------------

commit 1ef7add01ead4cbe065297f68306d9bc4b456156
Author: Takayuki Muranushi <muranushi at gmail.com>
Date:   Sat Feb 20 13:28:32 2016 +0100

    Add test (only) to assure that #11535 is fixed
    
    Ticket #11535 dealt with derived Read instances of infix Unicode
    value constructors. GHC 7.10.3 used to derive (Read/Show)
    instances so that `read . show` for values of such types had no
    parse.
    
    The issue has been fixed by other compiler update. This patch
    adds only tests, so that derived instance of Read/Show for infix
    Unicode value constructors has correct parse, satisfying Haskell
    2010 Specification.
    
    Resolves: #11535
    
    Test Plan: `make test TEST=T11535`
    
    Reviewers: austin, rwbarton, thomie, bgamari
    
    Reviewed By: rwbarton, thomie, bgamari
    
    Subscribers: rwbarton, thomie
    
    Projects: #ghc
    
    Differential Revision: https://phabricator.haskell.org/D1884
    
    GHC Trac Issues: #11535


>---------------------------------------------------------------

1ef7add01ead4cbe065297f68306d9bc4b456156
 testsuite/tests/deriving/should_run/T11535.hs      | 28 ++++++++++++++++++++++
 .../tests/deriving/should_run/T11535.stdout        |  0
 testsuite/tests/deriving/should_run/all.T          |  1 +
 3 files changed, 29 insertions(+)

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 1ef7add01ead4cbe065297f68306d9bc4b456156


More information about the ghc-commits mailing list