[commit: ghc] wip/ghc-8.8-az: API Annotations: more explicit foralls fixup (a853099)

git at git.haskell.org git at git.haskell.org
Thu Feb 28 02:14:58 UTC 2019


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

On branch  : wip/ghc-8.8-az
Link       : http://ghc.haskell.org/trac/ghc/changeset/a853099a4ec40cbbbdb88250fb4d0b0a399bcb61/ghc

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

commit a853099a4ec40cbbbdb88250fb4d0b0a399bcb61
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Thu Jan 24 23:22:59 2019 +0200

    API Annotations: more explicit foralls fixup
    
    The AnnForall annotations introduced via Phab:D4894 are not always
    attached to the correct SourceSpan.
    
    Closes #16230
    
    (cherry picked from commit be15f7457b98fa0378de7e8146c122757f03c4e9)


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

a853099a4ec40cbbbdb88250fb4d0b0a399bcb61
 compiler/parser/Parser.y                           | 43 +++++++-------
 compiler/parser/RdrHsSyn.hs                        |  6 +-
 testsuite/tests/ghc-api/annotations/Makefile       |  4 ++
 testsuite/tests/ghc-api/annotations/T16230.stdout  | 66 ++++++++++++++++++++++
 .../hie010.hs => ghc-api/annotations/Test16230.hs} |  0
 testsuite/tests/ghc-api/annotations/all.T          |  2 +
 6 files changed, 97 insertions(+), 24 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 a853099a4ec40cbbbdb88250fb4d0b0a399bcb61


More information about the ghc-commits mailing list