Fix Trac #2723: keep track of record field names in the renamer
authorsimonpj@microsoft.com <unknown>
Tue, 28 Oct 2008 11:04:45 +0000 (11:04 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 28 Oct 2008 11:04:45 +0000 (11:04 +0000)
The idea here is that with -XNamedFieldPuns and -XRecordWildCards we don't
want to report shadowing errors for
let fld = <blah> in C { .. }
But to suppress such shadowing errors, the renamer needs to know that
'fld' *is* a record selector.  Hence the new NameSet in
TcRnFypes.RecFieldEnv


No differences found