Skip to content

Commit

Permalink
Merge pull request #1835 from haskell/issue-1834
Browse files Browse the repository at this point in the history
Fix #1834: remove bad regex that was supposed to recognize a LANGUAGE suggestion
  • Loading branch information
purcell committed Jan 16, 2024
2 parents 3e8ff53 + 37a3de8 commit 43b4036
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion haskell-load.el
Expand Up @@ -205,7 +205,8 @@ list of modules where missed IDENT was found."
(string-match
"Use \\([A-Z][A-Za-z]+\\) if you want to disable this"
msg)
(string-match "use \\([A-Z][A-Za-z]+\\)" msg)
(and (string-match "use \\([A-Z][A-Za-z]+\\)" msg)
(not (string-match "refactoring to use" msg)))
(string-match "You need \\([A-Z][A-Za-z]+\\)" msg)))
(when haskell-process-suggest-language-pragmas
(haskell-process-suggest-pragma
Expand Down

0 comments on commit 43b4036

Please sign in to comment.