Phase 15のAOT/ネイティブビルド修正作業を継続中。 ChatGPTによるstd実装とプラグインシステムの改修を含む。 主な変更点: - apps/std/: string.nyashとarray.nyashの標準ライブラリ追加 - apps/smokes/: stdライブラリのスモークテスト追加 - プラグインローダーv2の実装改修 - BoxCallのハンドル管理改善 - JIT hostcall registryの更新 - ビルドスクリプト(build_aot.sh, build_llvm.sh)の調整 まだ修正作業中のため、一部の機能は不完全な状態。 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
13 lines
231 B
Plaintext
13 lines
231 B
Plaintext
// Minimal reproduction for ArrayBox.length() fast-path
|
|
static box Main {
|
|
main() {
|
|
local a
|
|
a = new ArrayBox()
|
|
// Expect: print 0, return 0
|
|
print(a.length())
|
|
if a.length() != 0 { return 1 }
|
|
return 0
|
|
}
|
|
}
|
|
|