X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=blobdiff_plain;f=indirect.xs;h=67cba846a98299092b75e3e919150c2c711ca843;hp=328214f3b68198dd9afac7aab4297efa06af2368;hb=3244106ca331b0d58c903b449f3c26af8f2d2d1e;hpb=25884bd42c11aa234940b6316d1be9587cc6fd20 diff --git a/indirect.xs b/indirect.xs index 328214f..67cba84 100644 --- a/indirect.xs +++ b/indirect.xs @@ -175,12 +175,15 @@ STATIC OP *indirect_ck_entersub(pTHX_ OP *o) { om = om->op_sibling; if (om->op_type == OP_METHOD) om = cUNOPx(om)->op_first; + else if (om->op_type != OP_METHOD_NAMED) + goto done; pm = indirect_map_fetch(om, &svm); po = indirect_map_fetch(oo, &svo); if (pm && po && pm < po) ((hint == 2) ? croak : warn)(indirect_msg, SvPV_nolen(svm), SvPV_nolen(svo)); } +done: return CALL_FPTR(indirect_old_ck_entersub)(aTHX_ o); }