
#9022: TH pretty printer and GHC parser semicolon placement mismatch -------------------------------------+------------------------------------- Reporter: roldugin | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.10.1 Component: Test Suite | Version: 7.8.2 Resolution: | Keywords: Operating System: | Architecture: Unknown/Multiple Unknown/Multiple | Difficulty: Unknown Type of failure: GHC | Blocked By: rejects valid program | Related Tickets: Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- Changes (by thomie): * component: Compiler (Parser) => Test Suite * milestone: => 7.10.1 Comment: Thank you for the report. I confirm this problem does not occur in 7.6.3, and does occur with 7.8.1 and HEAD. I can not find anything about this in the 7.8.1 changelog. I did find a related change, but then for the GHC Api pretty printer. {{{ commit 6f32f9b429814499cfde1367e59d3e46bffc4925 Author: simonpj@microsoft.com <unknown> Date: Thu Jul 23 15:24:11 2009 +0000 Print explicit braces and semicolons in do-notation By printing explicit braces we make it more likely that pretty-printed code will be acceptable if fed back into GHC. See http://www.haskell.org/pipermail/glasgow-haskell- users/2009-July/017554.html }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9022#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler