Pass VarRef to ScopeNewScalar