[GHC] #15920: Implement a flag which disables safe Haskell

GHC ghc-devs at haskell.org
Sat Dec 8 05:04:45 UTC 2018


#15920: Implement a flag which disables safe Haskell
-------------------------------------+-------------------------------------
        Reporter:  mpickering        |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.6.2
      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:D5360
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Ben Gamari <ben@…>):

 In [changeset:"45e98f64e82f6ff16dc3e437c3031b9d315f1313/ghc"
 45e98f64/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="45e98f64e82f6ff16dc3e437c3031b9d315f1313"
 Add -fno-safe-haskell flag

 This flag can be set to turn off the Safe Haskell checks.

 Whether a module is marked Safe/Unsafe/Trustworthy is ignored when
 this flag to set.

 Reviewers: bgamari, tdammers

 Reviewed By: tdammers

 Subscribers: rwbarton, carter

 GHC Trac Issues: #15920

 Differential Revision: https://phabricator.haskell.org/D5360
 }}}

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


More information about the ghc-tickets mailing list