awto/effectfuljs

`with` statement implementation

awto opened this issue · 0 comments

awto commented

The local variables in the generated code are accessed by index, this won't work for with statement where the scope is dynamic. To solve this it needs to use runtime functions for searching variables by name from the current scope if it is inside with statement.