Fix warnings when building with GHC 9.0.2 #363

Merged
sergv merged 1 commits from master into master 2022-01-11 14:46:42 +01:00
sergv commented 2022-01-07 01:02:01 +01:00 (Migrated from github.com)
There is no content yet.
tfausak commented 2022-01-07 13:42:46 +01:00 (Migrated from github.com)

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?

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](https://hackage.haskell.org/package/ghc-9.0.2/docs/GHC-Driver-Session.html#v:defaultDynFlags) instead?
sergv commented 2022-01-07 13:46:38 +01:00 (Migrated from github.com)

I'll give defaultDynFlags a try.

I'll give `defaultDynFlags` a try.
sergv commented 2022-01-09 21:19:23 +01:00 (Migrated from github.com)

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

@tfausak I have switched the module to using `defaultDynFlags`, now there's no need for preprocessor. It seems to work - all the tests pass.
tfausak (Migrated from github.com) approved these changes 2022-01-11 14:46:35 +01:00
tfausak (Migrated from github.com) left a comment

Awesome, thank you!

Awesome, thank you!
Sign in to join this conversation.
There is no content yet.