[svn:languages] r71 - ecmascript/trunk/src/classes

NotFound at svn.parrot.org NotFound at svn.parrot.org
Mon Apr 20 16:39:41 UTC 2009


Author: NotFound
Date: Mon Apr 20 16:39:41 2009
New Revision: 71
URL: https://trac.parrot.org/languages/changeset/71

Log:
testing implementation of Array.length

Modified:
   ecmascript/trunk/src/classes/Array.pir

Modified: ecmascript/trunk/src/classes/Array.pir
==============================================================================
--- ecmascript/trunk/src/classes/Array.pir	Sun Apr 19 05:16:25 2009	(r70)
+++ ecmascript/trunk/src/classes/Array.pir	Mon Apr 20 16:39:41 2009	(r71)
@@ -344,6 +344,16 @@
     .return(self)
 .end
 
+.sub 'get_pmc_keyed' :vtable :method
+    .param string key
+    if key == 'length' goto len
+    say ' - Uhhh'
+    .return()
+len:
+    $I0 = self
+    .return($I0)
+.end
+
 # Local Variables:
 #   mode: pir
 #   fill-column: 100


More information about the parrot-commits mailing list