scopes have $parent which are also scopes

scopes have $parent which are also scopes
Merge pull request #779 from basarat/patch-5

scopes have $parent which are also scopes