#6027: Allow changing fixity of new type operators
---------------------------------+------------------------------------------
    Reporter:  atnnn             |       Owner:  pcapriotti      
        Type:  feature request   |      Status:  patch           
    Priority:  normal            |   Milestone:  7.6.1           
   Component:  Compiler          |     Version:  7.5             
    Keywords:                    |          Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown    
  Difficulty:  Unknown           |    Testcase:                  
   Blockedby:                    |    Blocking:                  
     Related:                    |  
---------------------------------+------------------------------------------
Changes (by pcapriotti):

  * status:  new => patch


Comment:

 I believe the current behavior is just an unintended consequence of the
 new type operator syntax.

 Fixity declarations are already resolved in the `TcClsName` namespace, but
 only if the reader name is in `DataName`.

 The attached patch relaxes this constraints, and always looks up fixity
 declaration names in `TcClsName`, as well as the original namespace.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6027#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