[commit: ghc] master: users' guide: document -freverse-errors (1d7b61f)
git at git.haskell.org
git at git.haskell.org
Thu Sep 27 05:40:46 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/1d7b61f97f9ec3780a1b7b5bf95a880d56224f4f/ghc
>---------------------------------------------------------------
commit 1d7b61f97f9ec3780a1b7b5bf95a880d56224f4f
Author: quasicomputational <quasicomputational at gmail.com>
Date: Wed Sep 26 10:57:38 2018 +0100
users' guide: document -freverse-errors
>---------------------------------------------------------------
1d7b61f97f9ec3780a1b7b5bf95a880d56224f4f
docs/users_guide/using.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/docs/users_guide/using.rst b/docs/users_guide/using.rst
index 9ec26f2..4373a4a 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
More information about the ghc-commits
mailing list