hcs2hs failure

Simon Peyton Jones simonpj at microsoft.com
Tue Jan 29 15:03:39 UTC 2019


Is anyone else seeing this in a GHC build

utils/hsc2hs/HSCParser.hs:170:14: error: [-Wunused-matches, -Werror=unused-matches]

    Defined but not used: 'd'

    |

170 |         '\'':d:'\'':_ -> do any3Chars_; text -- Case 2

    |              ^
Indeed, d looks unused.  But this line of code has been there since 28 Dec, so I can't understand why it has not bitten before.
With -Werror my build fails.  I could switch to -Wwarn, but I think -Werror is the default.
Simon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20190129/a6d6fc1d/attachment.html>


More information about the ghc-devs mailing list