Alejandro Serrano Mena trupill at
Wed Sep 18 07:54:12 UTC 2019

Hi GHC devs,
I have made a rebase to bring my merge request [] up to date with the
current GHC codebase. In the process there were some conflicts (as
expected) which I could solve. However, now that I have pushed the result,
I get these messages from the CI infrastructure:

$ validate-whitespace .git $(git rev-list $base..$CI_COMMIT_SHA)
commit 0d92f8c898ccbf2ffb602bc75e50e9ffd44811d8 has whitespace linter

 *ERROR* compiler/typecheck/TcUnify.hs:810: introduces trailing whitespace
 > "          "

 *ERROR* compiler/typecheck/TcUnify.hs:818: introduces trailing whitespace
 > "      = "

Validation FAILED for 0d92f8c898ccbf2ffb602bc75e50e9ffd44811d8
commit 465d27f2119d7bdbe06832dd79c3848e27b4aaef has whitespace linter

 *ERROR* compiler/typecheck/TcExpr.hs:1315: introduces trailing whitespace
 > "           ; subst <- if xopt LangExt.ImpredicativeTypes dflags "

 *ERROR* compiler/typecheck/TcExpr.hs:1472: introduces trailing whitespace
 > "              _ -> return emptyTCvSubst "

 *ERROR* compiler/typecheck/TcExpr.hs:1513: introduces trailing whitespace
 > "    "

Validation FAILED for 465d27f2119d7bdbe06832dd79c3848e27b4aaef
Validation FAILED because at least one commit had linter errors!

What is the right approach to fix these problems? I can fix the whitespace
issues in a new commit, but I don't see how to fix them in all the interim
commits :(

Thanks in advance and kind regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list