In the following example, both variables `test` and `r` generate errors: ``` function test () { var test = 1; var r = {}; lock name="mylock" type="exclusive" timeout="20" throwontimeout=true { r.test = test; } } ```