[Melbourne-pm] Closures and scope warnings

Damian Conway damian at conway.org
Tue Jul 27 21:19:59 PDT 2010


Scott asked:

> So... the rule is that warnings only happen within the same level of block?

Yes. The second declaration of a variable name at a given block level generates
a warning. Two declarations in different blocks never has (and never will).

Damian


More information about the Melbourne-pm mailing list