Ticket #3572 (closed merge: fixed)
Empty types are prettyprinted with trailing "="
Description
This prints the invalid declaration "data Void ="; should be "data Void":
{-# LANGUAGE EmptyDataDecls #-}
import Language.Haskell.TH
import Language.Haskell.TH.Ppr
main = putStrLn . pprint =<< runQ [d| data Void |]
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

