🎯 Phase B: ArrayBox Arc<RwLock> state sharing implementation complete
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
@ -105,7 +105,7 @@ impl NyashInterpreter {
|
||||
name: name.clone(),
|
||||
span: expression.span()
|
||||
})?;
|
||||
Ok((*shared_var).clone_box()) // Convert for external interface
|
||||
Ok((*shared_var).share_box()) // 🎯 State-sharing instead of cloning
|
||||
}
|
||||
|
||||
ASTNode::BinaryOp { operator, left, right, .. } => {
|
||||
|
||||
Reference in New Issue
Block a user