id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
658	DEPRECATED doesn't work for data constructors	ijones	simonpj	"In trying to understand [http://www.haskell.org/ghc/docs/latest/html/users_guide/pragmas.html the documentation on pragmas] I could not figure out where to place a pragma of the form:
{{{ {-# DEPRECATED f, C, T ""Don't use these"" #-} }}}

for instance, in Distribution.Setup.hs, I tried to add:
{{{
{-# DEPRECATED CopyPrefix ""Don't use this."" #-}

data CopyDest
  = NoCopyDest
  | CopyTo FilePath
  | CopyPrefix FilePath		-- DEPRECATED
  deriving (Eq, Show)
}}}

but got the error:
{{{
./Distribution/Setup.hs:172:15:
    Not in scope: type constructor or class `CopyPrefix'
}}}"	bug	closed	normal	6.4.2	Compiler	6.4.1	fixed			Unknown/Multiple	Unknown/Multiple		Easy (less than 1 hour)				
