#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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to