Redundant import in test suite
Closed this issue · 2 comments
Vekhir commented
Hi,
there is a warning when building the test suite. It occurs on Arch Linux using GHC 9.0.2:
Preprocessing test suite 'test-qc' for primitive-0.8.0.0..
Building test suite 'test-qc' for primitive-0.8.0.0..
[1 of 2] Compiling PrimLaws ( test/src/PrimLaws.hs, dist/build/test-qc/test-qc-tmp/PrimLaws.dyn_o )
test/src/PrimLaws.hs:20:1: warning: [-Wunused-imports]
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
|
20 | import Control.Applicative
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
System information:
OS: Arch Linux
Kernel: Linux 6.5.3-arch1-1
GHC: 9.0.2-3
haskell-primitive: 0.8.0.0 (manually updated)
-- Vekhir
chessai commented
I believe that this is a holdover from a larger GHC compatibility window.