🎯 Phase 9.75D: Begin clone_box() vs share_box() implementation - Initial analysis
Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
11
test_array_state_issue.nyash
Normal file
11
test_array_state_issue.nyash
Normal file
@ -0,0 +1,11 @@
|
||||
// 🚨 ArrayBox状態保持問題のテスト
|
||||
static box Main {
|
||||
init { result }
|
||||
main() {
|
||||
local arr
|
||||
arr = new ArrayBox()
|
||||
arr.push("hello") // 状態変更
|
||||
me.result = arr.length() // 期待値: 1, 実際: 0?
|
||||
return me.result
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user