#3959: indenting change causes internal error
-------------------------+--------------------------------------------------
Reporter: RichardG | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.12.1
Keywords: | Difficulty:
Os: MacOS X | Testcase:
Architecture: x86 | Failure: None/Unknown
-------------------------+--------------------------------------------------
Comment(by igloo):
Note that the two definitions are not parsed the same; if you compile with
`-ddump-parsed` then you see
{{{
test = do { E.throw Failure;
(return "No exception" :: IO String) }
`E.catches`
[E.Handler (\ Failure -> return "Exception")]
}}}
vs
{{{
test = do { E.throw Failure (return "No exception" :: IO String) }
`E.catches`
[E.Handler (\ Failure -> return "Exception")]
}}}
I can reproduce this on amd64/Linux with 6.12.1 and the 6.12 branch, but
not the HEAD.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3959#comment:2>
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