digitalmars.D.learn - symbol shadowing
- Ellery Newcomer (3/3) Jun 21 2009 when is symbol shadowing permitted/forbidden?
- Jarrett Billingsley (4/7) Jun 21 2009 You've got it. You're not allowed to shadow locals within the same
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
Jun 21 2009
On Sun, Jun 21, 2009 at 1:31 PM, Ellery Newcomer<ellery-newcomer 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 declDefsYou've got it. You're not allowed to shadow locals within the same function, basically.
Jun 21 2009