Add local variable in scope, so that assignment in closure has an effect
Merge pull request #25 from petergoldstein/bugfix/fix_missing_scoped_var_declaration

Add local variable in scope, so that assignment in closure has an effect