Obviously every method in UnityScript has a separate scope for variables, but blocks don't:
From what i found on the wiki, an older version of UnityScript had the usual approach of blocks providing a new declaration space. Thus i'm wondering, is this intentional for some reason or just an oversight?
asked Oct 21 '11 at 08:00 PM
answered Oct 21 '11 at 08:20 PM