Skip to content

Commit 9186bfc

Browse files
committed
Handle another case of extension suggestions in GHC 7.8
I really need to make a generic catch-all for this.
1 parent 98c6dde commit 9186bfc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

haskell-process.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ from `module-buffer'."
796796
(or (string-match " -X\\([A-Z][A-Za-z]+\\)" msg)
797797
(string-match "Use \\([A-Z][A-Za-z]+\\) to permit this" msg)
798798
(string-match "Use \\([A-Z][A-Za-z]+\\) to allow" msg)
799-
(string-match "use \\([A-Z][A-Za-z]+\\)" msg)))
799+
(string-match "use \\([A-Z][A-Za-z]+\\)" msg)
800+
(string-match "You need \\([A-Z][A-Za-z]+\\)" msg)))
800801
(when haskell-process-suggest-language-pragmas
801802
(haskell-process-suggest-pragma session "LANGUAGE" (match-string 1 msg) file)))
802803
((string-match " The \\(qualified \\)?import of[ ][‘`‛]\\([^ ]+\\)['’] is redundant" msg)

0 commit comments

Comments
 (0)