Skip to content
Snippets Groups Projects
Unverified Commit ff6c624d authored by CGenie's avatar CGenie Committed by GitHub
Browse files

Add page about common errors (#1396)


* Update index.rst

Common errors page

* Create common-errors.rst

* Update common-errors.rst

* Use GHC 9.2 in CI runner (#1378)

* [haddock-api] remove .hspec-failures

Co-authored-by: default avatarHécate Moonlight <Kleidukos@users.noreply.github.com>
parent da79aea7
No related branches found
No related tags found
No related merge requests found
Common Errors
=============
``parse error on input ‘-- | xxx’``
-----------------------------------
This is probably caused by the ``-- | xxx`` comment not following a declaration. I.e. use ``-- xxx`` instead. See :ref:`top-level-declaration`.
``parse error on input ‘-- $ xxx’``
----------------------------------
You've probably commented out code like::
f x
$ xxx
``-- $`` is a special syntax for named chunks, see :ref:`named-chunks`. You can fix this by escaping the ``$``::
-- \$ xxx
...@@ -12,6 +12,7 @@ Contents: ...@@ -12,6 +12,7 @@ Contents:
intro intro
invoking invoking
markup markup
common-errors
Indices and tables Indices and tables
......
FailureReport {failureReportSeed = 630888988, failureReportMaxSuccess = 100, failureReportMaxSize = 100, failureReportMaxDiscardRatio = 10, failureReportPaths = []}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment