Teşhis (a): Sadece %= unutulmuş — +=, -=, *=, /= doğru çalışıyordu. PERCENT_EQUAL MOD opcode'una yönlendirildi; sıfıra mod runtime hatası zaten interpreter'da mevcut, yeni kod gerekmedi. CMakeLists.txt'e .runtime_error uzantısı eklendi (çalışma zamanı hatası golden testleri için; aynı run_golden_error.cmake altyapısı). Testler: compound_mod (17%5=2 zinciri) + mod_by_zero (runtime hata). 21/21 geçti. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| golden | ||
| run.sh | ||
| test_diagnostic.cpp | ||
| test_type.cpp | ||