Re: [perl #76376] [PATCH] Temporal and Date revision

2010-07-14 Thread Timothy Totten
I have rebased the patch to the latest master branch. The latest patch replaces the existing two. On Tue, Jul 13, 2010 at 1:21 PM, Moritz Lenz via RT < perl6-bugs-follo...@perl.org> wrote: > Could you please rebase the patch? It doesn't apply cleanly, and I don't > know if I find the motivation

r31691 -[S04] more bombastic utterances about not dropping pending exceptions

2010-07-14 Thread pugs-commits
Author: lwall Date: 2010-07-15 01:53:05 +0200 (Thu, 15 Jul 2010) New Revision: 31691 Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] more bombastic utterances about not dropping pending exceptions Modified: docs/Perl6/Spec/S04-control.pod =

[perl #76510] [BUG] =:= doesn't seem to work as spec'd in Rakudo

2010-07-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76510] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76510 > rakudo: my $a = 3; my $b := $a; my $c = 3; say $a =:= $b; say $a =:= $c rakudo c8b6cf:

r31690 -[S04] revise catcher semantics semantics to allow $!.handled = 1 to work as well as case match

2010-07-14 Thread pugs-commits
Author: lwall Date: 2010-07-15 01:32:07 +0200 (Thu, 15 Jul 2010) New Revision: 31690 Modified: docs/Perl6/Spec/S04-control.pod Log: [S04] revise catcher semantics semantics to allow $!.handled = 1 to work as well as case match Modified: docs/Perl6/Spec/S04-control.pod ===

Re: [perl #76486] [Bug] Multiple dispatch mechanism apparently does not descend into inner signatures

2010-07-14 Thread Stéphane Payrard
Sorry. My example was wrong. Here another one. C executes as intended but C<@t> does not. I find that unintuitive. cat mmd5.pm6 multi sub a(@a) { say 1 ~ @a.perl } multi sub a([]) { say 2 ~ [].perl } my @t=(1,2); a([]); a(@t) $ perl6 mmd5.pm6 2[] No applicable candidates found to dispatch to for

[perl #76510] [BUG] =:= doesn't seem to work as spec'd in Rakudo

2010-07-14 Thread Carl Mäsak via RT
rakudo: my ($a, $b); say $a =:= $a, $a =:= $b rakudo c8b6cf: OUTPUT«10␤» rakudo: sub f($x, $y) { $x =:= $y }; my ($a, $b); say f($a, $a), f($a, $b) rakudo c8b6cf: OUTPUT«00␤» bug? * masak adds that one to the ticket

[perl #76500] Rakudo doesn't honor :i flag for interpolated string in regexes

2010-07-14 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76500] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76500 > 07:50 < cbk> rakudo: my $searchStr = "test"; my $inputStr = "TEST"; if ($inputStr ~~ m/:

[perl #76498] [BUG] Strange error of use statement

2010-07-14 Thread via RT
# New Ticket Created by Hongwen Qiu # Please include the string: [perl #76498] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76498 > $ perl6 -v This is Rakudo Perl 6, version Kiev-235-g6ab7415 $ cat testa.p6 use Tufte::Re

[perl #76490] Regression in Parent{ :attribute } initialization

2010-07-14 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76490] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76490 > In the course of the 'ng' branch, Rakudo has regressed on passing parent attributes to co

Contribution to perl 6 - week 9 Hash.pick

2010-07-14 Thread Radu Stoica
Hi,   Please see below the code. It does not check for integer values yet and the algorithm is based on the suggestion made in moritz's post. diff --git a/src/core/Hash.pm b/src/core/Hash.pmindex 0365dfc..b2fa0ae 100644--- a/src/core/Hash.pm+++ b/src/core/Hash.pm@@ -96,6 +96,69 @@ role Hash is E

[perl #76510] [BUG] =:= doesn't seem to work as spec'd in Rakudo

2010-07-14 Thread Carl Mäsak via RT
What is pir::issame being used for? checking for =:= equivalence, I'd guess. That sounds wrong. =:= means "references the same thingy" right? aye. pretty sure the issame op is not what is wanted then * masak adds that to the ticket

[perl #76508] [BUG] Segfault on binding a variable to itself in Rakudo

2010-07-14 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76508] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76508 > rakudo: my $a = 2;$a := $a; say $a rakudo c8b6cf: ( no output ) rakudo: my $a = 2;my

[perl #76504] make spectest results

2010-07-14 Thread via RT
# New Ticket Created by Greg Donald # Please include the string: [perl #76504] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76504 > > git rev-parse HEAD 6ab7415762a5bc6269ddd8d4dae023e6f357a429 > make spectest Test Summ

[perl #76492] [TODO] implement autovivification of invocants

2010-07-14 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #76492] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76492 > > my %h; %h.push: 5; say %h.perl Method 'push' not found for invocant of class '' Expect

Re: r31651 -[S13] try to make multisig semantics slightly more generic so sigs can do better pattern matching

2010-07-14 Thread Aaron Sherman
On Mon, Jul 12, 2010 at 7:59 PM, wrote: > Author: lwall > Date: 2010-07-13 01:59:37 +0200 (Tue, 13 Jul 2010) > New Revision: 31651 > > Modified: > docs/Perl6/Spec/S13-overloading.pod > Log: > [S13] try to make multisig semantics slightly more generic so sigs can do > better pattern matching > .

r31689 -[S32/Temporal] Permit days-in-month and is-leap-year on DateTimes, too.

2010-07-14 Thread pugs-commits
Author: Kodi Date: 2010-07-14 23:18:42 +0200 (Wed, 14 Jul 2010) New Revision: 31689 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [S32/Temporal] Permit days-in-month and is-leap-year on DateTimes, too. Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod ===

Re: Contribution to perl 6 - week 9 Hash.pick

2010-07-14 Thread Moritz Lenz
Hi, thank you very much for your contribution. I'm now in the middle of testing and applying it, and if all goes right, I'll push it tonight (ie in the course of a few hours). According to my tests it does exactly what it should, I only found one minor bug: {a => 1, b => 0}.pick(*) would produc

r31680 -[S32/Temporal] Added to Date: "There are also C, C, C, C, and C methods, which work just like their DateTime equivalents."

2010-07-14 Thread pugs-commits
Author: Kodi Date: 2010-07-14 16:35:46 +0200 (Wed, 14 Jul 2010) New Revision: 31680 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [S32/Temporal] Added to Date: "There are also C, C, C, C, and C methods, which work just like their DateTime equivalents." Modified: docs/Perl6/

r31678 -[S32/Temporal] DateTime.new(Numeric) -> DateTime.new(Int), since time no longer returns fractional seconds.

2010-07-14 Thread pugs-commits
Author: Kodi Date: 2010-07-14 16:02:34 +0200 (Wed, 14 Jul 2010) New Revision: 31678 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: [S32/Temporal] DateTime.new(Numeric) -> DateTime.new(Int), since time no longer returns fractional seconds. Modified: docs/Perl6/Spec/S32-setting