r26063 - docs/Perl6/Spec/S32-setting-library

2009-04-02 Thread pugs-commits
Author: moritz Date: 2009-04-03 00:48:07 +0200 (Fri, 03 Apr 2009) New Revision: 26063 Modified: docs/Perl6/Spec/S32-setting-library/Str.pod Log: [S32/Str] spec Str.trim() Modified: docs/Perl6/Spec/S32-setting-library/Str.pod ===

Re: [perl #64370] [PATCH] Move much of Range.pir's functionality into Range.pm in setting

2009-04-02 Thread Moritz Lenz
Cory Spencer (via RT) wrote: > # New Ticket Created by Cory Spencer > # Please include the string: [perl #64370] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Display.html?id=64370 > > > > > The attached patch moves much of Range.pi

Re: simultaneous conditions in junctions

2009-04-02 Thread Richard Hainsworth
Larry Wall wrote: On Wed, Apr 01, 2009 at 08:40:12AM -0700, Dave Whipp wrote: That said, the semantics of a chained relop really should work correctly for this. If you only reference a junction once in an expression, then it should behave as such: {a Yes, that is the intent. I consi

Re: junctions and conditionals

2009-04-02 Thread Jon Lang
Martin Kealey wrote: > On Tue, 31 Mar 2009, Jon Lang wrote: >> Another issue: what happens if conditional code mutates a junction >> that it filtered?  For example: >> >>     $x = any (-5 .. 5); >>     if $x > 0 { $x++ }; >> >> At this point, which of the following does $x equal? >> >>     any(-4 .

[perl #64386] Null PMC access when assigning to $!attr in a submethod BUILD

2009-04-02 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #64386] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64386 > rakudo: class A { has $.foo; submethod BUILD($obj) { $!foo = 7 } }; say A.new.foo; rak

[perl #64388] BUILD should take the object as the invocant, not as the second positional argument

2009-04-02 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #64388] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64388 > doesn't BUILD have access to private attributes? if not, where would be the proper plac

[perl #60822] [TODO] lexical subroutines

2009-04-02 Thread jn...@jnthn.net via RT
On Tue Jan 20 11:29:48 2009, moritz wrote: > Status update: 'my sub name { ... }' is parsed, but it's not lexical: > > $ ./perl6 -e '{ my sub f { say "in f" }; f() }; f(); { my sub f { say > "in second f" }; f() }; f()' > in f > in f > in f > in f > > That should die on the second call to f(). >

[perl #63112] Rebinding $*OUT

2009-04-02 Thread jn...@jnthn.net via RT
On Sun Feb 08 22:21:48 2009, masak wrote: > $ perl6 -e '$*OUT := (class {}).new; say "OH HAI"' > OH HAI > > on a side note, if I rebind $*OUT, should 'say' still output > to STDOUT? > don't think so > * masak submits rakudobug As of git 3ad32e1 this now works correctly (plus print and printf an

[perl #64370] [PATCH] Move much of Range.pir's functionality into Range.pm in setting

2009-04-02 Thread via RT
# New Ticket Created by Cory Spencer # Please include the string: [perl #64370] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64370 > The attached patch moves much of Range.pir's functionality into Range.pm in the settin

[perl #64368] [PATCH] add to compiler_overview.pod

2009-04-02 Thread awwa...@thelackthereof.org (via RT)
# New Ticket Created by awwa...@thelackthereof.org # Please include the string: [perl #64368] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64368 > Some minor additions and clarification for compiler_overview.pod diff --gi

[perl #64366] Bool.succ does null PMC

2009-04-02 Thread via RT
# New Ticket Created by Tim Nelson # Please include the string: [perl #64366] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64366 > rakudo: my Bool $t; $t = Bool::True; print $t.succ rakudo 64e33a: OUTPUT«Null PMC acce

[perl #64360] [PATCH] Add get_number method to Object.pir to allow classes to numify

2009-04-02 Thread via RT
# New Ticket Created by Cory Spencer # Please include the string: [perl #64360] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=64360 > The attached patch allows Perl 6 classes to numify via a Num multi method like the fol

Re: [perl #64054] Can't exec "C:/Program": No such file or directory at build/gen_parrot.pl line 63.

2009-04-02 Thread Moritz Lenz
Vasily Chekalkin via RT wrote: > On Sat Mar 21 06:28:26 2009, Cybera wrote: > >> Checked out revision 37535. >> Can't exec "C:/Program": No such file or directory at >>build/gen_parrot.pl line 63. > > Attached patch solves this (and possible some other issues) Thanks, applied with some varia