We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc161d7 commit 3d834d4Copy full SHA for 3d834d4
haskell-process.el
@@ -730,7 +730,8 @@ from `module-buffer'."
730
((string-match "Warning: orphan instance: " msg)
731
(when haskell-process-suggest-no-warn-orphans
732
(haskell-process-suggest-pragma session "OPTIONS" "-fno-warn-orphans" file)))
733
- ((string-match "against inferred type [‘`‛]\\[Char\\]['’]" msg)
+ ((or (string-match "against inferred type [‘`‛]\\[Char\\]['’]" msg)
734
+ (string-match "with actual type [‘`‛]\\[Char\\]['’]" msg))
735
(when haskell-process-suggest-overloaded-strings
736
(haskell-process-suggest-pragma session "LANGUAGE" "OverloadedStrings" file)))
737
((string-match "^Not in scope: .*[‘`‛]\\(.+\\)['’]$" msg)
0 commit comments