EngineHub / EngineHub/CommandHelper
Saving the state of default arguments
未关闭
- 主要语言
- Java
- 星标
- 128
- 派生
- 70
- PR 合并指标
- 30 天内没有已合并 PR
描述
Default arguments not reinitialized
```
proc _test(@test = array()) {
@test[] = 1
return(@test)
}
for(@i = 0, @i < 3, @i++) {
console(_test())
}
{1}
{1, 1}
{1, 1, 1}
```
贡献指南
评估
这个 Issue 还没有评估数据。