haskell/haskell-mode — pull request #365 by karljs (2014-10-29 18:20:17+00:00)
Title: Don't trigger suggestion based on deprecation warning

When the DatatypeContexts LANGUAGE pragma is loaded, GHC generates a warning about it being deprecated. This triggers a suggestion to add the DatatypeContexts pragma to the file again even though it is already there. This patch is supposed to make the regexp that matches GHC suggestions not pick up this warning.

It's not the most efficient implementation but it works for me. I could improve it if you have any suggestions.