Phase 33 NORM canon test: enforce normalized dev route for P1/P2/JP mini
This commit is contained in:
@ -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: {:?}",
|
||||
|
||||
Reference in New Issue
Block a user