[svn:parrot] r31360 - in trunk/languages/perl6: src/builtins t

Moritz Lenz moritz at casella.verplant.org
Tue Sep 23 15:56:40 UTC 2008


Moritz Lenz wrote:
> Patrick R. Michaud wrote:
>> On Tue, Sep 23, 2008 at 07:28:14AM -0700, moritz at cvs.perl.org wrote:
>>> Log:
>>> [rakudo] implement chr() and ord(), and add tests to spectest_regression
>>> Patch courtesy by Carl Mäsak <cmasak at gmail dot com>, masak++
>>> 
>>> 
>>> +.namespace []
>>> +.sub 'chr' :multi()
>>> +    .param pmc grid
>> 
>> ... shouldn't this be a method on Any?
>> 
>> Pm
> 
> Aye, it should be method of Any and exported as a sub as well.
> We clearly need more tests to catch that.

... and fixed in r31365, while masak++ contributed some tests.
Moritz

-- 
Moritz Lenz
http://moritz.faui2k3.org/ |  http://perl-6.de/


More information about the parrot-dev mailing list