[perl #71476] [BUG] Rakudo should do type checking on the invocant parameter on methods

2010-07-04 Thread jn...@jnthn.net via RT
On Sun Dec 20 13:49:07 2009, masak wrote: > mwhaha! > I'm back to bother you with my endless bug reports :) > rakudo: class A { method foo(@a: $x) { say $x } }; > A.new.foo("OH HAI") > rakudo 8dc189: ( no output ) > locally, "OH HAI" > * masak submits rakudobug > > I'm not really sure what s

[perl #76372] suspicious behavior of multidispatch

2010-07-04 Thread via RT
# New Ticket Created by Stephane Payrard # Please include the string: [perl #76372] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76372 > I golfed some problematic code to the following : > multi sub f(@p, Range $r?

[perl #76382] [BUG] Role type objects are defined in Rakudo

2010-07-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76382] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76382 > $ perl6 -e 'class C {}; say defined C # right' 0 $ perl6 -e 'role R {}; say defined R #

[perl #76370] [BUG] Augmenting a class using a role

2010-07-04 Thread via RT
# New Ticket Created by Timothy Totten # Please include the string: [perl #76370] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76370 > If you have a class that uses a role that defines an attribute, and you try to augment

[perl #76368] [BUG] LTA error message when nominal type check fails for a parameter constraint with no supplied variable name

2010-07-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76368] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76368 > rakudo: sub foo(Str) {}; foo 42 rakudo 7017d2: OUTPUT«Nominal type check failed for pa

[perl #76366] [BUG] Can't access a lexical 'my' variable situated in an immediate block from an 'our'-scoped routine situated in the same block in Rakudo

2010-07-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76366] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76366 > rakudo: { my $a; our sub foo() { $a } } rakudo 7017d2: OUTPUT«===SORRY!===␤Symbol '$a'

[perl #69654] "does" is somehow not generating creating an updated meta-class or something

2010-07-04 Thread jn...@jnthn.net via RT
On Thu Oct 08 04:52:35 2009, ihrd wrote: > ihrd: rakudo: role R { method foo { ... } }; class C {}; (C.new does > R).^methods(:local)>>.name>>.say; > p6eval: rakudo 30e2cf: ( no output ) > ihrd: why I do not got 'foo' here? > jnthn: ihrd: Ah, I've run into that one before. > masak: ihrd: I agree t

[perl #76358] [BUG] No friendly warning when putting parentheses too close to an 'if' in Rakudo

2010-07-04 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76358] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=76358 > Oh, hey, why doesn't perl6 complain then about if() ? It's only upset about elsif() ra

r31543 -[S32/IO] changed API for C<.read> and C<.write>

2010-07-04 Thread pugs-commits
Author: masak Date: 2010-07-04 15:05:13 +0200 (Sun, 04 Jul 2010) New Revision: 31543 Modified: docs/Perl6/Spec/S32-setting-library/IO.pod Log: [S32/IO] changed API for C<.read> and C<.write> The API looked unnatural and non-Perly, so I changed it to something that made sense. Rather than sendi