summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins
diff options
context:
space:
mode:
authorOleg Grenrus <oleg.grenrus@iki.fi>2019-05-06 23:14:52 +0300
committerBen Gamari <ben@smart-cactus.org>2019-06-25 23:25:08 -0400
commita863c44f35720b760054e949de1b2f431f32774e (patch)
treedac3585b3b42570dd2afd2b2a2297f67ef52d580 /testsuite/tests/plugins
parent5c3f20801c4149d6a950cfb36c7a841dd32d17e0 (diff)
downloadhaskell-a863c44f35720b760054e949de1b2f431f32774e.tar.gz
Add -Winferred-safe-imports warning
This commit partly reverts e69619e923e84ae61a6bb4357f06862264daa94b commit by reintroducing Sf_SafeInferred SafeHaskellMode. We preserve whether module was declared or inferred Safe. When declared-Safe module imports inferred-Safe, we warn. This inferred status is volatile, often enough it's a happy coincidence, something which cannot be relied upon. However, explicitly Safe or Trustworthy packages won't accidentally become Unsafe. Updates haddock submodule.
Diffstat (limited to 'testsuite/tests/plugins')
-rw-r--r--testsuite/tests/plugins/T16260.stdout2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/plugins/T16260.stdout b/testsuite/tests/plugins/T16260.stdout
index ae9d3fb430..dd1db9a46b 100644
--- a/testsuite/tests/plugins/T16260.stdout
+++ b/testsuite/tests/plugins/T16260.stdout
@@ -1,4 +1,4 @@
False
None
True
-Safe
+Safe-Inferred