id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	os	architecture	failure	difficulty	testcase	blockedby	blocking	related
4404	RecordWildCards	igloo	igloo	"With this module:
{{{
{-# LANGUAGE RecordWildCards #-}

module TT where

data T = T {t1, t2 :: Int}

f :: T -> Int
f d = x
    where T {t1 = x, ..} = d

g :: T -> Int
g (T {t1 = x, ..}) = x
}}}
`f` gives warnings about t2 being unused:
{{{
$ ghc -Wall -c n.hs

n.hs:9:11: Warning: Defined but not used: `t2'
}}}
which is probably not what we want for variables bound by a wildcard. Reported by Serge here:
http://www.haskell.org/pipermail/glasgow-haskell-bugs/2010-October/025858.html
"	bug	closed	normal	7.4.1	Compiler (Type checker)	6.12.3	fixed			Unknown/Multiple	Unknown/Multiple	None/Unknown		T4404			
