API Annotations when parsing typapp
authorAlan Zimmerman <alan.zimm@gmail.com>
Tue, 26 Jun 2018 09:07:07 +0000 (11:07 +0200)
committerAlan Zimmerman <alan.zimm@gmail.com>
Tue, 26 Jun 2018 09:09:50 +0000 (11:09 +0200)
commite53c113dcfeca9ee957722ede3d8b6a2c4c751a1
tree0fb1d4c0e34c0371dbf321cc6a55ef9d5c7e3ea6
parent1c2c2d3dfd4c36884b22163872feb87122b4528d
API Annotations when parsing typapp

Make sure the original annotations are still accessible for a promoted
type.

Closes #15303
compiler/parser/Parser.y
testsuite/tests/ghc-api/annotations/Makefile
testsuite/tests/ghc-api/annotations/T15303.stdout [new file with mode: 0644]
testsuite/tests/ghc-api/annotations/Test15303.hs [new file with mode: 0644]
testsuite/tests/ghc-api/annotations/all.T