ndmitchell / hlint

Haskell source code suggestions
Other
1.48k stars 195 forks source link

`apply-refact` removes parens in the whole module #1513

Closed MangoIV closed 10 months ago

MangoIV commented 1 year ago

In definitions like the following:

data instance (f * g) a where

, when applying any hint, it just removes the parens around f * g which makes apply-refact unusable for modules that have such a definition.

ndmitchell commented 10 months ago

CC @zliu41

zliu41 commented 10 months ago

This must be an apply-refact bug since it occurs on any hint. Moving to https://github.com/mpickering/apply-refact/issues/146.