[commit: ghc] wip/safer-haskell: Add -fno-safe-haskell flag (371696d)
git at git.haskell.org
git at git.haskell.org
Thu Nov 22 10:16:15 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/safer-haskell
Link : http://ghc.haskell.org/trac/ghc/changeset/371696dee9e180ab0794021bd57659503430bcbd/ghc
>---------------------------------------------------------------
commit 371696dee9e180ab0794021bd57659503430bcbd
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date: Tue Nov 20 11:58:55 2018 +0000
Add -fno-safe-haskell flag
Summary:
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
Subscribers: rwbarton, carter
GHC Trac Issues: #15920
Differential Revision: https://phabricator.haskell.org/D5360
>---------------------------------------------------------------
371696dee9e180ab0794021bd57659503430bcbd
compiler/main/DynFlags.hs | 16 +++++++++++++---
compiler/main/HscMain.hs | 5 +++--
compiler/main/HscTypes.hs | 2 ++
docs/users_guide/safe_haskell.rst | 17 +++++++++++++++++
testsuite/tests/safeHaskell/flags/SafeIgnore.hs | 6 ++++++
testsuite/tests/safeHaskell/flags/SafeIgnoreA.hs | 4 ++++
testsuite/tests/safeHaskell/flags/all.T | 2 ++
7 files changed, 47 insertions(+), 5 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 371696dee9e180ab0794021bd57659503430bcbd
More information about the ghc-commits
mailing list