Phase 11.9: 統一文法アーキテクチャ作業中 - MIR builder分割とJIT lower整理
- MIR builder: stmts/exprs/typeingモジュール分割による整理 - JIT lower: core/ops_ext.rs追加(外部呼び出し系の分離) - 統一文法エンジン基盤構築中(grammar/unified-grammar.toml対応) - ChatGPT5協調作業: M1完了、M2作業中 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@ -82,6 +82,11 @@ impl NyashInterpreter {
|
||||
|
||||
// return文チェック
|
||||
if let super::ControlFlow::Return(return_val) = &self.control_flow {
|
||||
if std::env::var("NYASH_INT_RET_TRACE").ok().as_deref() == Some("1") {
|
||||
let ty = return_val.type_name();
|
||||
let sv = return_val.to_string_box().value;
|
||||
eprintln!("[INT-RET] epilogue capture: type={} value={}", ty, sv);
|
||||
}
|
||||
result = return_val.clone_box();
|
||||
self.control_flow = super::ControlFlow::None;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user