[commit: ghc] wip/T16230: API Annotations: more explicit foralls fixup (72a9375)

git at git.haskell.org git at git.haskell.org
Thu Jan 24 21:29:36 UTC 2019


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

On branch  : wip/T16230
Link       : http://ghc.haskell.org/trac/ghc/changeset/72a93759fd916513f61feb52ed3452cbbf3d0cc7/ghc

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

commit 72a93759fd916513f61feb52ed3452cbbf3d0cc7
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


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

72a93759fd916513f61feb52ed3452cbbf3d0cc7
 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 72a93759fd916513f61feb52ed3452cbbf3d0cc7


More information about the ghc-commits mailing list