Phase 33 NORM canon test: enforce normalized dev route for P1/P2/JP mini

This commit is contained in:
nyash-codex
2025-12-11 20:54:33 +09:00
parent 59a985b7fa
commit af6f95cd4b
170 changed files with 4423 additions and 1897 deletions

View File

@ -341,9 +341,11 @@ impl super::MirBuilder {
// P3-D は「既知メソッドの戻り値型」を直接推論する。
// BoxCall の method 名から TypeAnnotationBox と同じマッピングで型を取得。
if hint.is_none() {
if let Some(mt) =
MethodReturnHintBox::resolve_for_return(&function, *v, &self.value_types)
{
if let Some(mt) = MethodReturnHintBox::resolve_for_return(
&function,
*v,
&self.value_types,
) {
if std::env::var("NYASH_P3D_DEBUG").is_ok() {
eprintln!(
"[lifecycle/p3d] {} type inferred via MethodReturnHintBox: {:?}",