API Annotations: more explicit foralls fixup
authorAlan Zimmerman <alan.zimm@gmail.com>
Thu, 24 Jan 2019 21:22:59 +0000 (23:22 +0200)
committerMarge Bot <ben+marge-bot@smart-cactus.org>
Fri, 8 Feb 2019 16:00:22 +0000 (11:00 -0500)
commitbe15f7457b98fa0378de7e8146c122757f03c4e9
treed7648f9d4beca7b17d7b198192c0f675a26d972e
parentf17a5765075631b7057aba7c582ea72b28c42d9a
API Annotations: more explicit foralls fixup

The AnnForall annotations introduced via Phab:D4894 are not always
attached to the correct SourceSpan.

Closes #16230
compiler/parser/Parser.y
compiler/parser/RdrHsSyn.hs
testsuite/tests/ghc-api/annotations/Makefile
testsuite/tests/ghc-api/annotations/T16230.stdout [new file with mode: 0644]
testsuite/tests/ghc-api/annotations/Test16230.hs [new file with mode: 0644]
testsuite/tests/ghc-api/annotations/all.T