Re: #16260: Use of plugins causes different SafeHaskellMode returned for the module
"GHC" <[email protected]> Mon, 04 Mar 2019 18:51:00 -0000
| Newsgroups | gmane.comp.lang.haskell.glasgow.bugs |
|---|---|
| Message-ID | <[email protected]> |
#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>