[GHC] #8183: Parse error with let inside of do with { }

GHC ghc-devs at haskell.org
Wed Aug 28 02:01:41 UTC 2013


#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:
----------------------------------------------+----------------------------

Comment (by goldfire):

 Bah! I didn't realize that the "parse error" clause of the layout rule
 does no look-ahead, allowing for the "capturing" of the semi-colon. Thanks
 for taking a look.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8183#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list