
#8183: Parse error with let inside of do with { } ----------------------------------------------+---------------------------- Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler (Parser) | Version: 7.7 Resolution: invalid | Keywords: Operating System: Unknown/Multiple | Architecture: Type of failure: GHC rejects valid program | Unknown/Multiple Test Case: | Difficulty: Unknown Blocking: | Blocked By: | Related Tickets: ----------------------------------------------+---------------------------- Changes (by igloo): * status: new => closed * resolution: => invalid Comment: Thanks for the report, but this isn't a bug: After applying the layout rule, the code looks like this: {{{ do { let { x = 1 ; Just x } } }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8183#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler