Expected Behaviour
Variable declared should also be read within lambda context
Current Behavior
Throws reference error when called within lambda.
ERROR : ReferenceError: $<var> is not defined
Steps to Reproduce
- rps install basic
- Create a new file.rps
- copy the below code.
assign 'temp' 123
assign 'v' ($x)=>log $temp
call $v 'dummy'
- run rps file.rps
Context
rpscript - 0.3.1