Opened 9 years ago

Closed 9 years ago

Last modified 45 years ago

#458 closed bug (Fixed)

Warning -fwarn-unused-imports does not go away

Reported by: nobody Owned by: nobody
Priority: normal Milestone:
Component: Compiler Version: None
Keywords: Cc:
Operating System: Architecture:
Type of failure: Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

When I compile the attached file, where I only want to
import the instance declarations of the module
Control.Monad.Reader, I still get an error with the
flag -fwarn-unused-imports, even though this idiom is
regarded OK according to the user manual.

So, I would like GHC not to report this warning even
with -fwarn-unused-imports.

/Koen Claessen

Attachments (1)

Test.2.hs (213 bytes) - added by nobody 9 years ago.

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by nobody

comment:1 Changed 9 years ago by simonpj

Logged In: YES 
user_id=50165

Which version of GHC?

This one is fixed in GHC 6.4

Simon

comment:2 Changed 9 years ago by simonpj

  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.