kazu-yamamoto/ghc-mod — pull request #85 by batonius (2012-10-19 19:26:39+00:00)
Title: fly-make warning detection fix

The problem is that fly-make distinguishes errors from warnings by matching the very word 'warning' at the beginning of message, and GHC 7.6 API doesn't generate such a caption explicitly, using Severity data type instead. This fix adds 'Warning:' to warning messages so fly-make can show it as a warning and not as an error. Tested with GHC 7.4.1 and GHC 7.6.1 .