[GHC] #15209: ~# is always in scope with TypeOperators

GHC ghc-devs at haskell.org
Fri Jun 1 11:59:35 UTC 2018


#15209: ~# is always in scope with TypeOperators
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC accepts       |  Unknown/Multiple
  invalid program                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 My vote: ban `~#` outright.

 But note that we shouldn't expect to need `MagicHash` here, because `~#`
 is a perfectly fine and ordinary operator name. Of course, `MagicHash`
 shouldn't ''stop'' it from parsing...

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


More information about the ghc-tickets mailing list