[GHC] #14596: Remove uses of unsafeGlobalDynFlags for state hack

GHC ghc-devs at haskell.org
Tue Dec 19 15:29:43 UTC 2017


#14596: Remove uses of unsafeGlobalDynFlags for state hack
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.2.1
      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:D4265
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"10ed31980f30bf2a0091b6f4cef11e0f2f633f22/ghc"
 10ed3198/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="10ed31980f30bf2a0091b6f4cef11e0f2f633f22"
 Stop runRW# being magic

 Triggered by thinking about Trac #14596, I found that runRW#
 does not need to be a "magic" wired-in Id, now that we have
 levity polymorphism.

 This patch stops it being wired-in.
 }}}

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


More information about the ghc-tickets mailing list