test: green up after Phase 2 merge for #26\n\n- Fix AST tests (is_override)\n- Align MIR builder test with current If AST\n- Adjust ResultBox API usage in tests\n- Add len() helpers to ArrayBox/BufferBox for tests

This commit is contained in:
Moe Charm
2025-08-13 11:53:34 +09:00
parent c6f76505b5
commit 2eba31143a
107 changed files with 6435 additions and 13 deletions

View File

@ -0,0 +1,19 @@
// 暗黙オーバーライド禁止のテスト
box Parent {
init { }
method() {
return "Parent method"
}
}
box Child from Parent {
init { }
// overrideなしで同名メソッド定義エラーになるはず
method() {
return "Child method"
}
}