summaryrefslogtreecommitdiff
path: root/docs/users_guide
diff options
context:
space:
mode:
authorquasicomputational <quasicomputational@gmail.com>2018-09-26 10:57:38 +0100
committerÖmer Sinan Ağacan <omeragacan@gmail.com>2018-09-27 08:40:20 +0300
commit1d7b61f97f9ec3780a1b7b5bf95a880d56224f4f (patch)
tree5f853b2f71ffae08d83068cc733840ea922ebed7 /docs/users_guide
parentd25fa45e377253cfbe26e410075dda9d58bb869c (diff)
downloadhaskell-1d7b61f97f9ec3780a1b7b5bf95a880d56224f4f.tar.gz
users' guide: document -freverse-errors
Diffstat (limited to 'docs/users_guide')
-rw-r--r--docs/users_guide/using.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/users_guide/using.rst b/docs/users_guide/using.rst
index 9ec26f2bb2..4373a4a8d5 100644
--- a/docs/users_guide/using.rst
+++ b/docs/users_guide/using.rst
@@ -998,6 +998,16 @@ messages and in GHCi:
start at zero. This choice was made to follow existing convention
(i.e. this is how Emacs does it).
+.. ghc-flag:: -freverse-errors
+ :shortdesc: Output errors in reverse order
+ :type: dynamic
+ :reverse: -fno-reverse-errors
+ :category: verbosity
+
+ Causes GHC to output errors in reverse line-number order, so that
+ the errors and warnings that originate later in the file are
+ displayed first.
+
.. ghc-flag:: -H ⟨size⟩
:shortdesc: Set the minimum size of the heap to ⟨size⟩
:type: dynamic