Skip to content

Commit 2c4e4ae

Browse files
committed
Merge pull request #845 from drvink/interactive-types-for-show-ambiguous
Fix `haskell-interactive-types-for-show-ambiguous'
2 parents 532890f + 2bdfa6e commit 2c4e4ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

haskell-interactive-mode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,8 +1016,8 @@ don't care when the thing completes as long as it's soonish."
10161016
"Look for an <interactive> compile error; if there is one, pop
10171017
that up in a buffer, similar to `debug-on-error'."
10181018
(when (and haskell-interactive-types-for-show-ambiguous
1019-
(string-match "^\n<interactive>:[0-9]+:[0-9]+:" response)
1020-
(not (string-match "^\n<interactive>:[0-9]+:[0-9]+:[\n ]+Warning:" response)))
1019+
(string-match "^\n<interactive>:[-0-9]+:[-0-9]+:" response)
1020+
(not (string-match "^\n<interactive>:[-0-9]+:[-0-9]+:[\n ]+Warning:" response)))
10211021
(let ((inhibit-read-only t))
10221022
(delete-region haskell-interactive-mode-prompt-start (point))
10231023
(set-marker haskell-interactive-mode-prompt-start

0 commit comments

Comments
 (0)