branch: elpa/flycheck
commit 1cc041503deb31e16819a1bdda342820c38ef5f8
Author: Chenxi Li <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Fix problem caused by ghc 9.6
---
 flycheck.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flycheck.el b/flycheck.el
index 83f5e78801..7adc0cdbcc 100644
--- a/flycheck.el
+++ b/flycheck.el
@@ -9619,6 +9619,7 @@ See URL `https://github.com/commercialhaskell/stack'."
                            (one-or-more (not (any ?\n ?|)))))
             line-end)
    (error line-start (file-name) ":" line ":" column ":" (optional " error:")
+          (optional " " "[" (id (one-or-more not-newline)) "]")
           (or (message (one-or-more not-newline))
               (and "\n"
                    (message
@@ -9678,6 +9679,7 @@ See URL `https://www.haskell.org/ghc/'."
                            (one-or-more (not (any ?\n ?|)))))
             line-end)
    (error line-start (file-name) ":" line ":" column ":" (optional " error:")
+          (optional " " "[" (id (one-or-more not-newline)) "]")
           (or (message (one-or-more not-newline))
               (and "\n"
                    (message

Reply via email to