This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Note that we have no test coverage for this particular warning.
authorNicholas Clark <nick@ccl4.org>
Fri, 22 Aug 2008 09:13:30 +0000 (09:13 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 22 Aug 2008 09:13:30 +0000 (09:13 +0000)
p4raw-id: //depot/perl@34216

universal.c

index be58760..378329d 100644 (file)
@@ -67,6 +67,8 @@ S_isa_lookup(pTHX_ HV *stash, const char * const name, const HV* const name_stas
        SV* const basename_sv = *svp++;
         HV* const basestash = gv_stashsv(basename_sv, 0);
        if (!basestash) {
+           /* We have no test coverage for this block, as of 2008/08.  */
+           abort();
            if (ckWARN(WARN_SYNTAX))
                Perl_warner(aTHX_ packWARN(WARN_SYNTAX),
                            "Can't locate package %"SVf" for the parents of %s",