[GHC] #11412: Trouble parsing arithmetic sequence syntax
GHC
ghc-devs at haskell.org
Tue Jan 12 20:10:10 UTC 2016
#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
More information about the ghc-tickets
mailing list