🔧 ビルドエラー修正完了 - 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:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user