11 lines
285 B
Plaintext
11 lines
285 B
Plaintext
// 🚨 ArrayBox状態保持問題のテスト
|
|
static box Main {
|
|
init { result }
|
|
main() {
|
|
local arr
|
|
arr = new ArrayBox()
|
|
arr.push("hello") // 状態変更
|
|
me.result = arr.length() // 期待値: 1, 実際: 0?
|
|
return me.result
|
|
}
|
|
} |