lspitzner / brittany

haskell source code formatter
GNU Affero General Public License v3.0
692 stars 72 forks source link

Fix warnings when building with GHC 9.0.2 #363

Closed sergv closed 2 years ago

tfausak commented 2 years ago

Oof, that's unfortunate. I suppose that's what I get for manually initializing DynFlags.

Do you think it would be possible to use defaultDynFlags instead?

sergv commented 2 years ago

I'll give defaultDynFlags a try.

sergv commented 2 years ago

@tfausak I have switched the module to using defaultDynFlags, now there's no need for preprocessor. It seems to work - all the tests pass.