🔧 ビルドエラー修正完了 - Phase 10.11継続中

主な修正:
- MirInstruction::PluginInvokeのパターンマッチ追加
- ChatGPT5による変更に対応
- 58個の警告(未使用import)は意図的(ビルトインBox削除中)

ビルド成功!Everything is Plugin革命進行中 🚀

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Moe Charm
2025-08-30 02:04:00 +09:00
parent 1b98f85df9
commit 0976326a6e
9 changed files with 202 additions and 58 deletions

View File

@ -324,6 +324,17 @@ impl MirPrinter {
format!("call {}.{}{}({})", box_val, method, id_suffix, args_str)
}
},
MirInstruction::PluginInvoke { dst, box_val, method, args, effects: _ } => {
let args_str = args.iter()
.map(|v| format!("{}", v))
.collect::<Vec<_>>()
.join(", ");
if let Some(dst) = dst {
format!("{} = plugin_invoke {}.{}({})", dst, box_val, method, args_str)
} else {
format!("plugin_invoke {}.{}({})", box_val, method, args_str)
}
},
MirInstruction::Branch { condition, then_bb, else_bb } => {
format!("br {}, label {}, label {}", condition, then_bb, else_bb)