
#999: Misattributed parse error in do block ---------------------------------+------------------------------------------ Reporter: red5_2@… | Owner: Type: bug | Status: closed Priority: low | Milestone: _|_ Component: Compiler (Parser) | Version: 6.4.2 Resolution: fixed | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: None/Unknown | Difficulty: Moderate (less than a day) Testcase: | Blockedby: Blocking: | Related: ---------------------------------+------------------------------------------ Changes (by morabbin): * status: new => closed * failure: => None/Unknown * resolution: => fixed Comment: Fixed in 7.6.1: {{{ Orac:~/work/ghc $ cat > test.hs main = do x <- 1) return () Orac:~/work/ghc $ ghci test.hs GHCi, version 7.6.1: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. [1 of 1] Compiling Main ( test.hs, interpreted ) test.hs:1:17: parse error on input `)' Failed, modules loaded: none. Prelude> }}} -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/999#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler