[GHC] #16260: Use of plugins causes different SafeHaskellMode returned for the module

GHC ghc-devs at haskell.org
Mon Mar 4 18:51:00 UTC 2019


#16260: Use of plugins causes different SafeHaskellMode returned for the module
-------------------------------------+-------------------------------------
        Reporter:  watashi           |                Owner:  watashi
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.7
      Resolution:  fixed             |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Marge Bot <ben+marge-bot@…>):

 In [changeset:"406e43af2f12756c80d583b86326f760f2f584cc/ghc" 406e43a/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="406e43af2f12756c80d583b86326f760f2f584cc"
 Add `-fplugin-trustworthy` to avoid marking modules as unsafe

 By default, when a module is compiled with plugins, it will be marked as
 unsafe. With this flag passed, all plugins are treated as trustworthy
 and the safety inference will no longer be affected.

 This fixes Trac #16260.
 }}}

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


More information about the ghc-tickets mailing list