summaryrefslogtreecommitdiff
path: root/compiler/main/DynFlags.hs
diff options
context:
space:
mode:
authorDavid Terei <code@davidterei.com>2014-11-12 16:11:39 -0800
committerDavid Terei <code@davidterei.com>2014-11-12 17:49:42 -0800
commit475dd93efa5158a0f9516f6819a24edfc30c1a76 (patch)
treec4f3fc0a526056dffb275d7bf9c9e142755559ac /compiler/main/DynFlags.hs
parent1f8b4ee074b4d9e3d847b3139dc89fff1bb5d2e6 (diff)
downloadhaskell-475dd93efa5158a0f9516f6819a24edfc30c1a76.tar.gz
Add `--fwarn-trustworthy-safe` to `-Wall`
Update submodule haskell2010, haskell98, hoop, hpc and stm to fix new warnings.
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r--compiler/main/DynFlags.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 043174f3b0..70fc6d390d 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -3154,7 +3154,8 @@ minusWallOpts
Opt_WarnMissingSigs,
Opt_WarnHiShadows,
Opt_WarnOrphans,
- Opt_WarnUnusedDoBind
+ Opt_WarnUnusedDoBind,
+ Opt_WarnTrustworthySafe
]
enableGlasgowExts :: DynP ()