ennocramer / floskell

Floskell is a flexible Haskell source code pretty printer.
BSD 3-Clause "New" or "Revised" License
178 stars 22 forks source link

Cannot compile with GHC 9.0 #66

Closed wrengr closed 2 years ago

wrengr commented 2 years ago

This library's version constraint on base means it cannot be compiled with ghc 9.0.1; which in turn blocks compiling hls, even though both hls and hls-floskell-plugin have lenient enough bounds on base.

jneira commented 2 years ago

It seems https://github.com/ennocramer/floskell/commit/1bf6cf30ef8491930e790bfa448bf05a95cdaa49 closed this?

wrengr commented 2 years ago

Yep, looks like that fixed it. However, the version on Hackage still doesn't have that commit.

wrengr commented 2 years ago

See also https://github.com/ennocramer/floskell/pull/70 (for GHC 9.2)

jneira commented 2 years ago

you are right, it needs a hackage release, like the aeson 2.0 compat just merged

ennocramer commented 2 years ago

Thank you both for your PRs. I've uploaded version 0.10.6 to Hackage, which should solve this for GHC-9.0.1 and GHC-9.2.1.