[commit: ghc] master: Fix API Annotations for GADT constructors (676c575)

git at git.haskell.org git at git.haskell.org
Tue Jun 19 11:22:44 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/676c5754e3f9e1beeb5f01e0265ffbdc0e6f49e9/ghc

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

commit 676c5754e3f9e1beeb5f01e0265ffbdc0e6f49e9
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Mon Jun 18 10:18:21 2018 +0200

    Fix API Annotations for GADT constructors
    
    Summary:
    This patch completes the work for #14529 by making sure that all API
    Annotations end up attached to a SrcSpan that appears in the final
    ParsedSource.
    
    Updates Haddock submodule
    
    Test Plan: ./validate
    
    Reviewers: goldfire, bgamari
    
    Subscribers: rwbarton, thomie, mpickering, carter
    
    GHC Trac Issues: #14529
    
    Differential Revision: https://phabricator.haskell.org/D4867


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

676c5754e3f9e1beeb5f01e0265ffbdc0e6f49e9
 compiler/deSugar/DsMeta.hs                         |  4 +-
 compiler/hsSyn/Convert.hs                          |  8 ++--
 compiler/hsSyn/HsDecls.hs                          |  7 +++-
 compiler/parser/Parser.y                           |  5 ++-
 compiler/parser/RdrHsSyn.hs                        | 48 ++++++++++++----------
 compiler/rename/RnSource.hs                        |  2 +-
 testsuite/tests/ghc-api/annotations/T10399.stdout  | 43 ++++++++++++-------
 testsuite/tests/ghc-api/annotations/Test10399.hs   |  1 +
 testsuite/tests/ghc-api/annotations/all.T          |  6 +--
 .../parser/should_compile/DumpParsedAst.stderr     |  6 ++-
 .../parser/should_compile/DumpRenamedAst.stderr    |  9 ++--
 .../tests/parser/should_compile/T14189.stderr      |  9 ++--
 utils/haddock                                      |  2 +-
 13 files changed, 90 insertions(+), 60 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 676c5754e3f9e1beeb5f01e0265ffbdc0e6f49e9


More information about the ghc-commits mailing list