Logo
Explore Help
Register Sign In
tomoaki/hakorune
1
0
Fork 0
You've already forked hakorune
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
3f816407643815d63816a2628d0aefd9096ea1bb
hakorune/apps/tests/test_else_if_scope.hako

24 lines
501 B
Plaintext
Raw Normal View History

feat(phi): Phase 25.1 - LoopForm v2 テスト・最小再現ケース追加 - ✅ 最小再現ケース作成 - apps/tests/minimal_ssa_skip_ws.hako: 確実に再現する10-30行ケース - apps/tests/minimal_ssa_bug*.hako: 段階的簡略化版 - apps/tests/loopform_*.hako: LoopForm v2 各ケーステスト - ✅ Rustテストスイート追加 - src/tests/mir_loopform_conditional_reassign.rs: 4ケース(Case A/B/C/D) - src/tests/mir_loopform_complex.rs: 複雑なパターン - 全テストPASS確認済み - ✅ SSAバグ分析ドキュメント - docs/development/analysis/minimal_ssa_bug_analysis.md - エラー詳細・原因・ワークアラウンド記録 🎯 成果: SSAバグの構造を完全特定、デバッグ準備完了
2025-11-21 06:21:45 +09:00
static box Main {
main(args) {
local x = args
if x == null {
x = new ArrayBox()
x.push("default")
if x.length() > 0 {
local status = "initialized"
if x.get(0) != null {
status = "has_value: " + x.length()
}
print("Status: " + status)
}
} else if x.length() >= 0 {
print("Length: " + ("" + x.length()))
}
if x == null {
return 1
}
print("Final length: " + ("" + x.length()))
return 0
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 57ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API