[svn:parrot] r47873 - trunk/runtime/parrot/library

pmichaud at svn.parrot.org pmichaud at svn.parrot.org
Sat Jun 26 17:12:09 UTC 2010


Author: pmichaud
Date: Sat Jun 26 17:12:09 2010
New Revision: 47873
URL: https://trac.parrot.org/parrot/changeset/47873

Log:
Change Protoobject.ACCEPTS to return Boolean instead of int.

Modified:
   trunk/runtime/parrot/library/P6object.pir

Modified: trunk/runtime/parrot/library/P6object.pir
==============================================================================
--- trunk/runtime/parrot/library/P6object.pir	Sat Jun 26 16:32:58 2010	(r47872)
+++ trunk/runtime/parrot/library/P6object.pir	Sat Jun 26 17:12:09 2010	(r47873)
@@ -829,7 +829,9 @@
     $I0 = 1
 
   end:
-    .return ($I0)
+    $P0 = new ['Boolean']
+    assign $P0, $I0
+    .return ($P0)
 .end
 
 


More information about the parrot-commits mailing list