[svn:parrot] r47745 - trunk/examples/pir

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Jun 21 23:09:32 UTC 2010


Author: bacek
Date: Mon Jun 21 23:09:32 2010
New Revision: 47745
URL: https://trac.parrot.org/parrot/changeset/47745

Log:
Fix make_hello_pbc to avoid ignorance from Namespace PMC.

Modified:
   trunk/examples/pir/make_hello_pbc.pir

Modified: trunk/examples/pir/make_hello_pbc.pir
==============================================================================
--- trunk/examples/pir/make_hello_pbc.pir	Mon Jun 21 19:04:58 2010	(r47744)
+++ trunk/examples/pir/make_hello_pbc.pir	Mon Jun 21 23:09:32 2010	(r47745)
@@ -66,6 +66,7 @@
     $P0['ns_entry_name']= 'hello'
     $P0['method']       = ''
     $P0['HLL_id']       = 0
+    $P0['vtable_index'] = -1 # It required to store sub in namespace
 
     $P1 = new 'Sub', $P0
     # and store it in PackfileConstantTable


More information about the parrot-commits mailing list