symbol shadowing

Jarrett Billingsley jarrett.billingsley at gmail.com
Sun Jun 21 11:06:32 PDT 2009


On Sun, Jun 21, 2009 at 1:31 PM, Ellery
Newcomer<ellery-newcomer at utulsa.edu> wrote:
> when is symbol shadowing permitted/forbidden?
>
> It appears that it is only forbidden in multiple levels of statements,
> but not in multiple levels of declDefs
>

You've got it.  You're not allowed to shadow locals within the same
function, basically.


More information about the Digitalmars-d-learn mailing list