[GHC] #5492: Underscore not a valid name for a class member
GHC
cvs-ghc at haskell.org
Fri Sep 16 09:49:16 CEST 2011
#5492: Underscore not a valid name for a class member
----------------------------------------+-----------------------------------
Reporter: trinithis | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.0.4
Resolution: invalid | Keywords: underscore _
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: GHC rejects valid program |
----------------------------------------+-----------------------------------
Changes (by simonpj):
* status: new => closed
* resolution: => invalid
Comment:
"`_`" is a pattern, not an identifier. So it's rightly rejected. Have a
look at the Report.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5492#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list