vm/router: minimal special-method extension (equals/1); toString mapping kept
mir: add TypeCertainty to Callee::Method (diagnostic only); plumb through builder/JSON/printer; backends ignore behaviorally using: confirm unified prelude resolver entry for all runner modes docs: update Callee architecture with certainty; update call-instructions; CURRENT_TASK note tests: quick 40/40 PASS; integration (LLVM) 17/17 PASS
This commit is contained in:
@ -54,12 +54,13 @@ fn emit_unified_mir_call(
|
||||
"name": name
|
||||
});
|
||||
}
|
||||
Callee::Method { box_name, method, receiver } => {
|
||||
Callee::Method { box_name, method, receiver, certainty } => {
|
||||
call_obj["mir_call"]["callee"] = json!({
|
||||
"type": "Method",
|
||||
"box_name": box_name,
|
||||
"method": method,
|
||||
"receiver": receiver.map(|v| v.as_u32())
|
||||
"receiver": receiver.map(|v| v.as_u32()),
|
||||
"certainty": match certainty { crate::mir::definitions::call_unified::TypeCertainty::Known => "Known", crate::mir::definitions::call_unified::TypeCertainty::Union => "Union" }
|
||||
});
|
||||
}
|
||||
Callee::Constructor { box_type } => {
|
||||
|
||||
Reference in New Issue
Block a user