Hi all
I have been wrestling with something silly most of today.
T12530 has the following splice in it, which has parens around the "(Maybe
Int)".
$([d| -- Test the Template Haskell pretty-printing for TypeApplications
f = id @(Maybe Int)
|])
the parsed source has these parens, but they are removed for the renamed
source.
I am modifying the pretty printer to be faithful to the original source, so
when the renamed source is printed it has no parens, causing T12530 to fail.
I have looked all over the source, and cannot see where the HsParTy is
removed.
Can anyone give me a pointer?
See details here [1]
My current work branch is here [2], but I am pretty sure there are no
changes affecting this there.
[1] http://lpaste.net/1624164315596587008
[2] https://github.com/alanz/ghc/tree/wip/T3384
Regards
Alan
_______________________________________________
ghc-devs mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs