[GHC] #15861: Cannot import (*) type operator

GHC ghc-devs at haskell.org
Mon Nov 5 17:06:27 UTC 2018


#15861: Cannot import (*) type operator
-------------------------------------+-------------------------------------
        Reporter:  pgujjula          |                Owner:  (none)
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.1
      Resolution:  invalid           |             Keywords:
Operating System:  Linux             |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by goldfire):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is expected behavior. You have to enable the new `NoStarIsType`
 language extension.

 More details here: https://ghc.haskell.org/trac/ghc/wiki/Migration/8.6

 I agree that it's unfortunate how this breaks, but it seemed better than
 other alternatives as we were preparing GHC 8.6.

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


More information about the ghc-tickets mailing list