#3572: Empty types are prettyprinted with trailing "="
-------------------+--------------------------------------------------------
Reporter:  FSalad  |          Owner:                  
    Type:  bug     |         Status:  new             
Priority:  normal  |      Component:  Template Haskell
 Version:  6.10.4  |       Severity:  trivial         
Keywords:          |       Testcase:                  
      Os:  Linux   |   Architecture:  Unknown/Multiple
-------------------+--------------------------------------------------------
 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 |]
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3572>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to