
#10993: Bad error message reported when -XBinaryLiterals is not enabled -------------------------------------+------------------------------------- Reporter: osa1 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.11 (Parser) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by thomie): * cc: hvr (added) Comment: Hugs reports a similar error: Undefined variable "b10101". So I'm guessing the haskell report dictates `0b0101` should be parsed as 2 tokens (but I'm having difficulties finding out where it would say so exactly), and this would be a breaking change. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10993#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler