From ca71d5514626dbfd74a3d9931c2ecbd02b5343bc Mon Sep 17 00:00:00 2001 From: James Foster Date: Thu, 15 Aug 2019 01:00:17 +0000 Subject: Remove unused imports of the form 'import foo ()' (Fixes #17065) These kinds of imports are necessary in some cases such as importing instances of typeclasses or intentionally creating dependencies in the build system, but '-Wunused-imports' can't detect when they are no longer needed. This commit removes the unused ones currently in the code base (not including test files or submodules), with the hope that doing so may increase parallelism in the build system by removing unnecessary dependencies. --- compiler/codeGen/StgCmmClosure.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/codeGen') diff --git a/compiler/codeGen/StgCmmClosure.hs b/compiler/codeGen/StgCmmClosure.hs index 74de2d8756..437219bf45 100644 --- a/compiler/codeGen/StgCmmClosure.hs +++ b/compiler/codeGen/StgCmmClosure.hs @@ -71,7 +71,7 @@ import GhcPrelude import StgSyn import SMRep import Cmm -import PprCmmExpr() +import PprCmmExpr() -- For Outputable instances import CostCentre import BlockId -- cgit v1.2.1