#5401: LANGUAGE pragma parser nit -------------------------------+-------------------------------------------- Reporter: nwf | Owner: Type: bug | Status: new Priority: normal | Component: Compiler (Parser) Version: 7.0.3 | Keywords: Testcase: | Blockedby: Os: Linux | Blocking: Architecture: x86_64 (amd64) | Failure: GHC rejects valid program -------------------------------+--------------------------------------------
Comment(by daniel.is.fischer): The user's guide says {{{ The layout rule applies in pragmas, so the closing #-} should start in a column to the right of the opening {-#. }}} The language report doesn't mention any such restrictions though, so perhaps it should be listed in Bugs and infelicities (supposing the parse can't easily be changed to accept the `#-}` anywhere). -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5401#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs