[perl #60490] Rakudo doesn't report an error on log(0)

2008-11-12 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #60490] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60490 > Rakudo r32568: $ ./perl6 -e 'my $result = log(0); say "Still alive after getting $resul

[perl #60482] Rakudo dies strangely on .trans call in for loop on .split result

2008-11-12 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #60482] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60482 > ...but now I've found something. seriously! rakudo: say "foo\nbar\nbaz".trans([ /\s+/

Re: [perl #60490] Rakudo doesn't report an error on log(0)

2008-11-12 Thread Patrick R. Michaud
On Tue, Nov 11, 2008 at 11:57:02PM -0800, Carl Mäsak wrote: > Rakudo r32568: > > $ ./perl6 -e 'my $result = log(0); say "Still alive after getting $result"' > Still alive after getting -inf Now fixed in r32574: $ ./parrot perl6.pbc -e 'my $result = log(0); say $result;' Can't take log of

Re: flagging compiler-generated code

2008-11-12 Thread Patrick R. Michaud
On Tue, Nov 11, 2008 at 11:03:09PM -0600, Chris Dolan wrote: > I'm thinking ahead to the Parrot equivalent of Perl::Critic, which I > hope will someday be able to analyze arbitrary .pbc files. One problem I > foresee is that there seems to be no way to distinguish anonymous subs > ("my $f = su

Re: [perl #60482] Rakudo dies strangely on .trans call in for loop on .split result

2008-11-12 Thread Patrick R. Michaud
On Tue, Nov 11, 2008 at 08:43:09AM -0800, Carl Mäsak wrote: > rakudo: for "foo\nbar\nbaz".split( /\n ** 2..*/ ) { say > .trans([ /\s+/ => " " ]) } > rakudo 32543: OUTPUT[too few arguments passed (2) - 3 params > expected␤current instr.: '_block25' pc -342568903 ((unknown > file):-1)␤] > HAH! > *

Re: flagging compiler-generated code

2008-11-12 Thread Chris Dolan
> On Tue, Nov 11, 2008 at 11:03:09PM -0600, Chris Dolan wrote: >> I'm thinking ahead to the Parrot equivalent of Perl::Critic, which I >> hope will someday be able to analyze arbitrary .pbc files. One problem >> I >> foresee is that there seems to be no way to distinguish anonymous subs >> ("my $f

Re: flagging compiler-generated code

2008-11-12 Thread Patrick R. Michaud
On Wed, Nov 12, 2008 at 12:53:24PM -0600, Chris Dolan wrote: > > On Tue, Nov 11, 2008 at 11:03:09PM -0600, Chris Dolan wrote: > >> One problem I foresee is that there seems to be no way to > >> distinguish anonymous subs ("my $f = sub { 1 };") from inner > >> blocks. Both compile down to somethi

Re: [perl #60312] [BUG] OpenBSD Smolder test failures

2008-11-12 Thread Nicholas Clark
On Mon, Nov 10, 2008 at 01:03:47PM -0500, Andy Dougherty wrote: > On Sat, 8 Nov 2008, chromatic wrote: > > +if (fabsl(ld) == 0.0 && Parrot_signbit(ld)) > > +info.flags |= FLAG_MINUS; > > + > (I'm not sure how portable fabsl() is either,

[svn:parrot-pdd] r32579 - trunk/docs/pdds

2008-11-12 Thread coke
Author: coke Date: Wed Nov 12 14:01:31 2008 New Revision: 32579 Modified: trunk/docs/pdds/pdd19_pir.pod Log: remove [DEPRECATED] warning - this is gone now. Modified: trunk/docs/pdds/pdd19_pir.pod == --- trunk/docs/p