[svn:parrot] r46009 - trunk/src/io

cotto at svn.parrot.org cotto at svn.parrot.org
Sun Apr 25 12:12:44 UTC 2010


Author: cotto
Date: Sun Apr 25 12:12:43 2010
New Revision: 46009
URL: https://trac.parrot.org/parrot/changeset/46009

Log:
[io] remove an assert that prevented overriding the FileHandle PMC from PIR (closes TT #1592)

Modified:
   trunk/src/io/api.c

Modified: trunk/src/io/api.c
==============================================================================
--- trunk/src/io/api.c	Sun Apr 25 11:50:40 2010	(r46008)
+++ trunk/src/io/api.c	Sun Apr 25 12:12:43 2010	(r46009)
@@ -127,7 +127,6 @@
                                                    Parrot_PMC_typenum(interp, "FileHandle"));
     if (PMC_IS_NULL(pmc)) {
         new_filehandle = Parrot_pmc_new(interp, typenum);
-        PARROT_ASSERT(new_filehandle->vtable->base_type == typenum);
     }
     else
         new_filehandle = pmc;


More information about the parrot-commits mailing list