Skip to content

Commit 95c970a

Browse files
authored
Merge pull request #1609 from fommil/tasty-warnings
failed tasty tests are errors
2 parents dd0ea64 + 988b506 commit 95c970a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

haskell-compile.el

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ The `%s' placeholder is replaced by the current buffer's filename."
7777
("^ \\(?:Declared at:\\| \\) \\(?1:[^ \t\r\n]+\\):\\(?2:[0-9]+\\):\\(?4:[0-9]+\\)$"
7878
1 2 4 0) ;; info locus
7979

80+
;; failed tasty tests
81+
(".*error, called at \\(.*\\.hs\\):\\([0-9]+\\):\\([0-9]+\\) in .*" 1 2 3 2 1)
82+
(" +\\(.*\\.hs\\):\\([0-9]+\\):$" 1 2 nil 2 1)
83+
8084
;; this is the weakest pattern as it's subject to line wrapping et al.
8185
(" at \\(?1:[^ \t\r\n]+\\):\\(?2:[0-9]+\\):\\(?4:[0-9]+\\)\\(?:-\\(?5:[0-9]+\\)\\)?[)]?$"
8286
1 2 (4 . 5) 0)) ;; info locus

0 commit comments

Comments
 (0)