tweag / ormolu

A formatter for Haskell source code
https://ormolu-live.tweag.io
Other
944 stars 83 forks source link

An issue with inter-package re-exports #1037

Closed mrkkrp closed 1 year ago

mrkkrp commented 1 year ago

When a module re-exports another module from a different package and that package is not specified as a direct dependency of the component we are formatting we are likely going to get incorrect fixity information because the set of packages from which that information is drawn is restricted before re-exports are taken into consideration.

Possible solution: