Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jyp committed Nov 16, 2022
1 parent b22d5c8 commit 914d4f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dante.el
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ Or nil if BUFFER / TEMP-FILE are not relevant to the message."
;; Flymake bug: in fact, we would want to report all errors,
;; with buffer = (if (string= temp-file file) buffer (find-buffer-visiting file)),
;; but flymake actually ignores the buffer argument of flymake-make-diagnostic (?!).
;; Note: GHCi messages are relative to dante-ghci-path, which is not necessarily the current path. This should be taken into account too.
(when (string= temp-file file)
(let* ((type-analysis
(cl-destructuring-bind (typ msg-start) (s-split-up-to ":" first-line 1)
Expand Down

0 comments on commit 914d4f2

Please sign in to comment.