This PR turns on the canonical warning flags recommended by RIO, and fixes what's revealed.
Note: I'm getting these strange warnings left over.
/home/colin/code/haskell/rio/rio/src/RIO/Prelude.hs:3:5-28: warning: [-Wdodgy-exports]
The export item ‘module RIO.Prelude.Types’ exports nothing
|
3 | module RIO.Prelude.Types
| ^^^^^^^^^^^^^^^^^^^^^^^^
/home/colin/code/haskell/rio/rio/src/RIO/Prelude.hs:386:1-34: warning: [-Wunused-imports]
The qualified import of ‘RIO.Prelude.Types’ is redundant
|
386 | import qualified RIO.Prelude.Types
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
despite the fact that RIO.Prelude.Types clearly exports a lot. Throwing NoImplicitPrelude around doesn't seem to help. I'm going to test elsewhere whether this is a bug with -Wdodge-exports.
This PR turns on the canonical warning flags recommended by RIO, and fixes what's revealed.
Note: I'm getting these strange warnings left over.
despite the fact that
RIO.Prelude.Types
clearly exports a lot. ThrowingNoImplicitPrelude
around doesn't seem to help. I'm going to test elsewhere whether this is a bug with-Wdodge-exports
.