<div dir="ltr"><div><div>Hi all<br><br></div>I have been wrestling with something silly most of today.<br><br>T12530 has the following splice in it, which has parens around the "(Maybe Int)".<br><br>$([d|   -- Test the Template Haskell pretty-printing for TypeApplications<br>        f = id @(Maybe Int)<br>    |])<br><br></div><div>the parsed source has these parens, but they are removed for the renamed source.<br><br></div><div>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.<br></div><div><div><div><br></div><div>I have looked all over the source, and cannot see where the HsParTy is removed.<br><br></div><div>Can anyone give me a pointer?<br></div><div><br>See details here [1]<br><br></div><div>My current work branch is here [2], but I am pretty sure there are no changes affecting this there.<br><br>[1] <a target="_blank" href="http://lpaste.net/1624164315596587008"> http://lpaste.net/162416431559<wbr>6587008</a><br>[2] <a target="_blank" href="https://github.com/alanz/ghc/tree/wip/T3384">https://github.com/alanz/ghc/<wbr>tree/wip/T3384</a><br></div><div><br>Regards<br></div><div>  Alan<br></div></div></div></div>