[commit: ghc] master: Add -fno-safe-haskell flag (45e98f6)
git at git.haskell.org
git at git.haskell.org
Sat Dec 8 05:05:23 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/45e98f64e82f6ff16dc3e437c3031b9d315f1313/ghc
>---------------------------------------------------------------
commit 45e98f64e82f6ff16dc3e437c3031b9d315f1313
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date: Fri Dec 7 23:25:20 2018 -0500
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
>---------------------------------------------------------------
45e98f64e82f6ff16dc3e437c3031b9d315f1313
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 45e98f64e82f6ff16dc3e437c3031b9d315f1313
More information about the ghc-commits
mailing list