[GHC] #11432: Cannot export operator newtype

GHC ghc-devs at haskell.org
Fri Jan 15 17:20:45 UTC 2016


#11432: Cannot export operator newtype
-------------------------------------+-------------------------------------
        Reporter:  phadej            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  8.0.1-rc1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by mpickering):

 * owner:  mpickering =>


Comment:

 I can't work out how to fix this. The problem is that (-.->) is put into
 the variable namespace rather than the type constructor namespace.
 However, I change the parsing rules to how they were in ghc-7.10.3 and it
 still doesn't accept it. Maybe that commit is responsible but I'm not sure
 anymore.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11432#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list