I really don't know how we could make it easier for you to avoid this error without making it impossible to other, useful things. But your code works if
you use ref. You just have to remember to do that.

They mostly behave like function parameters.

Reply via email to