Stephen Weeks wrote:
Commit 31294 implements this behavior. Can I get confirmation that it's
correct?
Just looked over the diff. Perfect. Thanks!
Allison
chromatic wrote:
On Sunday 21 September 2008 03:17:18 [EMAIL PROTECTED] wrote:
+dod_unregister_pmc(interp, sig_object);
[...]
That's far away from registering the PMC; is there a way to move them closer
together?
We could register it after it's returned from
'Parrot_build_sig_object_fro
# New Ticket Created by "Chris Davaz"
# Please include the string: [perl #59184]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=59184 >
I have implemented the limit parameter on both Str.split(String,
Integer) and Str.split
NotFound wrote:
+=item C
+
+Removes the element at C.
+
+=cut
+
+*/
+
+VTABLE void delete_keyed_int(INTVAL key) {
+INTVAL size = PMC_int_val(SELF);
With the use of the set_integer_native entry later, this should probably be:
INTVAL size = SELF.get_integer();
I borrowed it f
Parrot Bug Summary
http://rt.perl.org/rt3/NoAuth/parrot/Overview.html
Generated at Mon Sep 22 13:00:02 2008 GMT
---
* Numbers
* New Issues
* Overview of Open Issues
* Ticket Status By Version
* Requestors with m
On Sun, Sep 21, 2008 at 07:02:37PM -0700, Michael G Schwern wrote:
> I'm pondering what the proper syntax is for a subroutine parameter with both a
> trait and a default. That is...
> sub foo ($arg = 42)
> and
> sub foo ($arg is readonly)
> together in one parameter. Would that be
>
Applied with some changes in r31335
--
Salu2
On Mon, Sep 22, 2008 at 02:35:20PM +0800, Chris Davaz wrote:
> Awesome Patrick, you totally nailed it ;-)
>
> I'll be submitting a patch soon. Do you know if there is a Parrot bug
> logged for the problem you described?
I don't think there's a Parrot bug filed for the issue of MMD
dispatch on str
On Sun, Sep 21, 2008 at 10:50:22AM -0700, Moritz Lenz via RT wrote:
> Patrick R. Michaud wrote:
> > It would help if someone could describe all of the things that
> > need escaping, either as prose, Perl code, or text.
>
> (CC'ed p6c and the ticket, hope it worked)
>
> afaict the following charac
Patch rejected -- this patch modifies core OO-handling of Parrot to
assume that '::' is a valid classname separator.
Parrot doesn't use '::' as a separator -- that's strictly a Perlism.
Pm
Patrick R. Michaud wrote:
> On Sun, Sep 21, 2008 at 10:50:22AM -0700, Moritz Lenz via RT wrote:
>> Patrick R. Michaud wrote:
>> > It would help if someone could describe all of the things that
>> > need escaping, either as prose, Perl code, or text.
>>
>> (CC'ed p6c and the ticket, hope it worked)
HaloO,
Patrick R. Michaud wrote:
The STD.pm grammar [1] shows that the second is the correct form --
i.e., default values occur after traits.
IIRC, there used to be an 'is default(42)' trait that could
be placed arbitrarily.
PS Incidentally, it seems silly to have "is rw" but not "is ro".
Patrick R. Michaud wrote:
> On Sun, Sep 21, 2008 at 07:02:37PM -0700, Michael G Schwern wrote:
>> I'm pondering what the proper syntax is for a subroutine parameter with both
>> a
>> trait and a default. That is...
>> sub foo ($arg = 42)
>> and
>> sub foo ($arg is readonly)
>> together
# New Ticket Created by Patrick R. Michaud
# Please include the string: [perl #59204]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=59204 >
The .trans method appears to be modifying its argument:
$ cat x
my $x = [1,2,3] =
On Mon, Sep 22, 2008 at 12:34 AM, NotFound <[EMAIL PROTECTED]> wrote:
>>> +=item C
>>> +
>>> +Removes the element at C.
>>> +
>>> +=cut
>>> +
>>> +*/
>>> +
>>> +VTABLE void delete_keyed_int(INTVAL key) {
>>> +INTVAL size = PMC_int_val(SELF);
>>
>> With the use of the set_integer_native
On Monday 22 September 2008 13:01:35 NotFound wrote:
> After some looking: other functions on this pmc uses elements, that is
> implemented in the parent, FixedIntegerArray. FixedIntegerArray
> implements get_integer by calling elements, so looks like elements is
> the 'boss'.
>
> Will be better
On Sat, Jul 12, 2008 at 09:52:34PM -0500, Patrick R. Michaud wrote:
> What would be the expected output from the following?
>
> my $a = foo();
> my $b;
>
> {
> my $x = 1;
> sub get_x() { return $x; }
> sub foo() { return &get_x; }
> $b = foo();
>
please see http://rt.perl.org/rt3/Ticket/Display.html?id=59184 for
more info and for the patch
18 matches
Mail list logo