id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
3820,Pragma for suppressing 'orphan instance' warnings per instance,guest,,"Additionally to #2515 I'd like to suppress orphan instances warnings individually. I do not always like to disable orphan instance warnings globally for a module, since some of the warnings may point to an instance that can actually be moved to a more appropriate module.

Syntax could be
{{{
{-# NOWARN orphan #-}
instance C T where
   ...
}}}
or simply
{{{
{-# NOWARN #-}
instance C T where
   ...
}}}

(Before GHC-6.12 a general local NOWARN pragma could also help to minimize wrong warnings about unused imported modules. And sometimes I also like to disable 'unused identifier' warning for some top-level functions, that shall be type checked, but not exported, because their API is still not mature.)
",feature request,closed,normal,,Compiler (Type checker),6.12.1,duplicate,,ghc@…,Unknown/Multiple,Unknown/Multiple,None/Unknown,,,,,
