[GHC] #11412: Trouble parsing arithmetic sequence syntax

#11412: Trouble parsing arithmetic sequence syntax -------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The Haskell-98 program {{{#!hs module Bug where blah = [True..] }}} does not compile. I assume this is because GHC thinks that I'm accessing the operator `.` from the module `True`. It took me a little while to figure out what was going on here! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11412 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11412: Trouble parsing arithmetic sequence syntax -------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.1 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: | -------------------------------------+------------------------------------- Comment (by rwbarton): I have always believed this behavior is specified by the Report, but I've never actually checked that. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11412#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#11412: Trouble parsing arithmetic sequence syntax -------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.1 Resolution: invalid | 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 goldfire): * status: new => closed * resolution: => invalid Comment: Bah. You're right. It still is confusing! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11412#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC