blob: 3a7419c3555ec35500638332e2431efa24875d4b (
plain)
1
2
3
4
5
6
7
8
9
10
|
module ShouldCompile where
import Prelude ()
import Control.Monad( Monad(return), unless )
-- Should report Monad and return as unused imports
import GHC.Base
-- But not their import from here
x = True
y x = unless
|