Nit to S_isa_lookup by Brandon Black
Rafael Garcia-Suarez [Fri, 20 Apr 2007 14:22:26 +0000 (14:22 +0000)]
p4raw-id: //depot/perl@30996

universal.c

index 172b3d0..6999adc 100644 (file)
@@ -62,7 +62,7 @@ S_isa_lookup(pTHX_ HV *stash, const char *name, const HV* const name_stash,
     while (items--) {
        SV* const basename_sv = *svp++;
         HV* basestash = gv_stashsv(basename_sv, 0);
-       if (!basestash) {
+       if (!basestash || (HvMROMETA(basestash)->fake && !HvFILL(basestash))) {
            if (ckWARN(WARN_SYNTAX))
                Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
                            "Can't locate package %"SVf" for the parents of %s",