[GHC] #10050: template haskell Ppr missing parentheses for SigT
GHC
ghc-devs at haskell.org
Fri Jan 30 22:25:14 UTC 2015
#10050: template haskell Ppr missing parentheses for SigT
-------------------------------------+-------------------------------------
Reporter: aavogt | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.8.4
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple | Blocked By:
Test Case: | Related Tickets:
Blocking: |
Differential Revisions: |
-------------------------------------+-------------------------------------
{{{#!hs
ppr (SigE (VarE (mkName "a")) (SigT (VarT (mkName "x")) (VarT (mkName
"k"))))
}}}
prints as "a :: x :: k". Ghc can't parse that, so I think it should be
printed as "a :: (x :: k)"
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10050>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list