summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMateusz Lenik <mlen@mlen.pl>2014-10-21 15:34:00 -0500
committerAustin Seipp <austin@well-typed.com>2014-10-21 15:36:14 -0500
commit972ba1210d1bb535c41526ce396c0f086d30b59a (patch)
treea6b4531b00c8cfa98ef0e12ecbbbfc181abffbc7 /docs
parent69f63612fc17cd6b3baaa8898c8595bde304ebfb (diff)
downloadhaskell-972ba1210d1bb535c41526ce396c0f086d30b59a.tar.gz
Enabled warn on tabs by default (fixes #9230)
Summary: This revision enables -fwarn-tabs by default and add a suppression flag, so that GHC compilation won't fail when some files contain tab characters. Test Plan: Additional test case, T9230, was added to cover that change. Reviewers: austin Reviewed By: austin Subscribers: simonmar, ezyang, carter, thomie, mlen Differential Revision: https://phabricator.haskell.org/D255 GHC Trac Issues: #9230 Conflicts: testsuite/driver/testlib.py
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/7.10.1-notes.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/7.10.1-notes.xml b/docs/users_guide/7.10.1-notes.xml
index 7b4000202c..3ca5112a9f 100644
--- a/docs/users_guide/7.10.1-notes.xml
+++ b/docs/users_guide/7.10.1-notes.xml
@@ -87,6 +87,12 @@
<option>-XTypeFamilies</option>, <option>-XGADTs</option> or
<option>-XFlexibleContexts</option>).
</para>
+ <para>
+ <option>-fwarn-tabs</option> warning flag is turned on by
+ default with this release of GHC. It can be suppressed
+ either by using <literal>GHC_OPTIONS</literal> pragma or by
+ specifying <option>-fno-warn-tabs</option> flag.
+ </para>
</listitem>
</itemizedlist>
</sect3>