[GHC] #649: class declaration accepts conop as method name

GHC trac at galois.com
Mon Jan 9 07:04:00 EST 2006


#649: class declaration accepts conop as method name
-------------------------+--------------------------------------------------
    Reporter:  simonmar  |        Owner:             
        Type:  bug       |       Status:  new        
    Priority:  normal    |    Milestone:  6.4.2      
   Component:  Compiler  |      Version:  6.4.1      
    Severity:  minor     |     Keywords:             
          Os:  Unknown   |   Difficulty:  Easy (1 hr)
Architecture:  Unknown   |  
-------------------------+--------------------------------------------------
The following code is accepted:

 {{{
 class Foo o where
      (:+) :: o -> o -> o
 }}}

 but it should be rejected.

-- 
Ticket URL: <http://cvs.haskell.org/trac/ghc/ticket/649>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list