Make TcRnMonad.reportWarning call makeIntoWarning
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 9 Jan 2015 09:47:57 +0000 (09:47 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 9 Jan 2015 10:08:46 +0000 (10:08 +0000)
commitdfe62eb05feab7ec4acb31bcd12fb68028eebcda
treef0d7c407db7833e95c0c87dbc83158b9ce334317
parent327ce1d336c8fbdb068be900a187f96d1c60b851
Make TcRnMonad.reportWarning call makeIntoWarning

Previously the caller had do to that, and sometimes forgot
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcErrors.hs
compiler/typecheck/TcRnMonad.hs
testsuite/tests/typecheck/should_compile/T9939.stderr
testsuite/tests/typecheck/should_compile/tc056.stderr