<div dir="ltr"><div>Hi GHC devs,</div><div>I have made a rebase to bring my merge request [<a href="https://gitlab.haskell.org/ghc/ghc/merge_requests/1659">https://gitlab.haskell.org/ghc/ghc/merge_requests/1659</a>] 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:</div><div><br></div><div><span style="font-family:monospace">$ validate-whitespace .git $(git rev-list $base..$CI_COMMIT_SHA)<br>=====================================================================================<br>commit 0d92f8c898ccbf2ffb602bc75e50e9ffd44811d8 has whitespace linter issues:<br><br> *ERROR* compiler/typecheck/TcUnify.hs:810: introduces trailing whitespace<br> > "          "<br><br> *ERROR* compiler/typecheck/TcUnify.hs:818: introduces trailing whitespace<br> > "      = "<br><br>Validation FAILED for 0d92f8c898ccbf2ffb602bc75e50e9ffd44811d8<br>=====================================================================================<br>commit 465d27f2119d7bdbe06832dd79c3848e27b4aaef has whitespace linter issues:<br><br> *ERROR* compiler/typecheck/TcExpr.hs:1315: introduces trailing whitespace<br> > "           ; subst <- if xopt LangExt.ImpredicativeTypes dflags "<br><br> *ERROR* compiler/typecheck/TcExpr.hs:1472: introduces trailing whitespace<br> > "              _ -> return emptyTCvSubst "<br><br> *ERROR* compiler/typecheck/TcExpr.hs:1513: introduces trailing whitespace<br> > "    "<br><br>Validation FAILED for 465d27f2119d7bdbe06832dd79c3848e27b4aaef<br>=====================================================================================<br>Validation FAILED because at least one commit had linter errors!</span></div><div><br></div><div>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 :(</div><div><br></div><div>Thanks in advance and kind regards,</div><div>Alejandro<br></div></div>