hlint icon indicating copy to clipboard operation
hlint copied to clipboard

`apply-refact` removes parens when replacing with qualified infix operator in prefix usage

Open MangoIV opened this issue 2 years ago • 2 comments

hlint replaces

(<|) by Seq.<| when trying to replaces <| with qualified Seq.<|

This results in incorrect programs with things like

foldr (<|) .. 

MangoIV avatar Jun 21 '23 10:06 MangoIV

CC @zliu41 who does a lot of apply-refact stuff

ndmitchell avatar Jan 15 '24 19:01 ndmitchell

@MangoIV Do you have a full example?

zliu41 avatar Jan 18 '24 23:01 zliu41