[GHC] #11432: Cannot export operator newtype

GHC ghc-devs at haskell.org
Sat Feb 6 21:10:47 UTC 2016


#11432: Cannot export operator newtype
-------------------------------------+-------------------------------------
        Reporter:  phadej            |                Owner:  skvadrik
            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):  Phab:D1888
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by skvadrik):

 So the breakage was **not** caused by the change of grammar (`(-.->)(..)`
 is parsed as neither `qcon` nor `oqtycon`, it is parsed as `qvar`). It was
 caused by removal of `setRdrNameSpace` call.

 D1888 breaks one test (`make test TEST=mod89`): we get error instead of
 warning and the message is different (perhaps less informative).

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


More information about the ghc-tickets mailing list