summaryrefslogtreecommitdiff
path: root/compiler/GHC/Driver/Session.hs
diff options
context:
space:
mode:
authorZubin Duggal <zubin.duggal@gmail.com>2021-10-12 18:25:41 +0530
committerZubin Duggal <zubin.duggal@gmail.com>2021-10-25 21:10:20 +0530
commit628c88a3e1fe2a037634518b018616cf63260786 (patch)
treeefdbae5b83eaf21b0a829ba132f1255032339fe6 /compiler/GHC/Driver/Session.hs
parent98aa29d3fe447cce3407e6864b015892244bb475 (diff)
downloadhaskell-wip/unicode-warn.tar.gz
Warn if unicode bidirectional formatting characters are found in the source (#20263)wip/unicode-warn
Diffstat (limited to 'compiler/GHC/Driver/Session.hs')
-rw-r--r--compiler/GHC/Driver/Session.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs
index 478a0f7737..67fa5c0103 100644
--- a/compiler/GHC/Driver/Session.hs
+++ b/compiler/GHC/Driver/Session.hs
@@ -3209,7 +3209,8 @@ wWarningFlagsDeps = mconcat [
warnSpec Opt_WarnOperatorWhitespaceExtConflict,
warnSpec Opt_WarnOperatorWhitespace,
warnSpec Opt_WarnImplicitLift,
- warnSpec Opt_WarnMissingExportedPatternSynonymSignatures
+ warnSpec Opt_WarnMissingExportedPatternSynonymSignatures,
+ warnSpec Opt_WarnUnicodeBidirectionalFormatCharacters
]
-- | These @-\<blah\>@ flags can all be reversed with @-no-\<blah\>@