Remove apply-append-for-loop-to-for-loop
lint
#435
Labels
existing lint
Issues or pull requests relating to existing lints
apply-append-for-loop-to-for-loop
lint
#435
The
apply-append-for-loop-to-for-loop
lint seems to, in some cases, result in much uglier code. For example, in Herbie, it rewrites:into
This seems much worse! The actual body of the loop is now hidden inside a loop bound, and there's a dummy variable introduced (
v
) with no real purpose. It also moves the code way to the right, which makes it uglier too. I suggest removing or scoping down this lint.The text was updated successfully, but these errors were encountered: