diff --git a/elisp/ghc-check.el b/elisp/ghc-check.el index 7f16d63..5819a17 100644 --- a/elisp/ghc-check.el +++ b/elisp/ghc-check.el @@ -420,6 +420,10 @@ nil do not display errors/warnings. (let ((old (match-string 1 data)) (new (match-string 2 data))) (ghc-check-replace old new))) + ((string-match "Found hole .\\(_[_[:alnum:]]*\\). with type: \\([^\t\n]+\\)" data) + (let ((old (match-string 1 data)) + (new (match-string 2 data))) + (ghc-check-replace old new))) (t (setq ret nil)))))))