On Wed, Nov 26, 2008 at 06:21:22PM -0800, Larry Wall wrote:
> On Wed, Nov 26, 2008 at 08:54:50AM +0100, Moritz Lenz wrote:
> : Patrick R. Michaud wrote:
> : > Currently Rakudo is treating [EMAIL PROTECTED] as though it's
> : > prefix:<^> on a List, which S03 says
> : > for ^(3,3) { ... } # (0,
On Wed, Nov 26, 2008 at 08:54:50AM +0100, Moritz Lenz wrote:
:
:
: Patrick R. Michaud wrote:
: > Currently Rakudo is treating [EMAIL PROTECTED] as though it's
: > prefix:<^> on a List, which S03 says
: >
: > If [prefix:<^> is] applied to a list, it generates a
: > multidimensional set o
Unfortunately I think this patch causes the following to fail:
sub foo($a) { 1.say for $a }
foo((1,2,3));
The problem is that simply looking at (misnamed) Perl6Scalar and
deciding what to do is a little coarse-grained. The real problem is in
the argument binding to a scalar versus array
On Sat Nov 08 09:32:09 2008, pmichaud wrote:
> On Sat, Nov 08, 2008 at 12:54:52AM -0800, Ilya Belikin wrote:
> > sub foo (@a) { 1.say for @a }
> > foo((1,2,3,4)); # only one 1
> > foo([1,2,3,4]); # only one 1
> > foo( my @a = 1,2,3 ); # only one 1
> >
> > This one really pesky bug :(
>
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #60868]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=60868 >
>From Rakudo r33221:
$ perl6 -e'say [].min'
Use of uninitialized value
$ perl6 -e'say
# New Ticket Created by Ilya Belikin
# Please include the string: [perl #60854]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=60854 >
Hi!
Rakudo 33212, example:
class R { has Range $.range }
my $r = R.new;
died with:
Nul
Patrick R. Michaud wrote:
> Currently Rakudo is treating [EMAIL PROTECTED] as though it's
> prefix:<^> on a List, which S03 says
>
> If [prefix:<^> is] applied to a list, it generates a
> multidimensional set of subscripts.
>
> for ^(3,3) { ... } # (0,0)(0,1)(0,2)(1,0)(1,1)(1,2)(2,
Thank you, very much!
2008/11/26 Moritz Lenz via RT <[EMAIL PROTECTED]>:
> On Sat Nov 08 09:32:09 2008, pmichaud wrote:
>> On Sat, Nov 08, 2008 at 12:54:52AM -0800, Ilya Belikin wrote:
>> > Hi there,
>> >
>> > sub foo (@a) { 1.say for @a }
>> > foo((1,2,3,4)); # only one 1
>> > foo([1,2,3,4]
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #60850]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=60850 >
I still have out of country guests, so I won't have much follow up time on
this.
On Thu Nov 20 20:46:18 2008, [EMAIL PROTECTED] wrote:
> If you accidentally try to instantiate a class that has not been
> defined, but the namespace for that class has been vivified, then you
> get an obscure error message:
> ...
> With the attached patch, Rakudo instead dies with a more infor
On Sun Oct 26 14:26:27 2008, masak wrote:
> Rakudo r32151 is only able to call &-sigil subs if they have not been
> initialized with "my".
>
> $ ./perl6 -e '&b = &say; &b(5)' # works
> 5
> $ ./perl6 -e 'my &b = &say; &b(5)' # fails
> Lexical 'b' not found
> [...]
>
This was fixed earlier today,
On Sat Nov 08 04:58:36 2008, bacek wrote:
> there is attached patch to factor check readonly status to separate
> function. Unfortunately I can't add call to '!CHECK_READONLY'
> into (prefix|postfix)(++|--) because I'm waiting to resolve #59596 :)
Thanks for the patch. However, it's not really th
On Tue Nov 25 13:19:15 2008, moritz wrote:
> Rakudo as of r33193 doesn't implement lexical subroutines; neither 'my
> sub ...' is implemented nor does 'my $x = sub { ... }' work properly (a
> test for the latter can be found in t/spec/integration/man-or-boy.t).
>
All of:
my $x = sub { ... }
my &x
- Original Message
> From: "[EMAIL PROTECTED] via RT" <[EMAIL PROTECTED]>
>
> Thanks for testing. :-)
>
> On Tue Nov 25 23:38:58 2008, [EMAIL PROTECTED] wrote:
> > t/spec/S12-methods/default-trait.t (Wstat: 0
> > Tests: 6 Failed: 1)
> > Failed test: 2
> >
On Mon Nov 17 13:49:03 2008, masak wrote:
> Rakudo r32733:
>
> rakudo: my @a; @a[0].=subst( '', '')
> OUTPUT[PAST::Compiler can't compile a null nodecurrent
> instr.:
> [...]
Ah, yes, .= was only handling a scalar on the LHS. Thanks to PAST
enhancements since I first implemented .=, it was nice
On Mon Nov 24 07:52:42 2008, masak wrote:
> $ perl6 -c -e 'my $a; $a .= "A"'
> Method 'panic' not found for invocant of class 'PGE;Match'
>
> I inadvertently wrote this when meaning '~='. It would probably be a
> good thing to emit a helpful error message in this case. (Unless it's
> legal Perl 6,
On Wed, Nov 26, 2008 at 04:35:41AM -0800, [EMAIL PROTECTED] via RT wrote:
> I believe the Any method would also be exported...
>
> multi method Complex() is export { ... }
>
> So we'll get a sub form too...
>
> Complex(...)
>
> But trying to introduce a sub form right now causes clashes with th
On Mon Nov 24 15:12:48 2008, masak wrote:
> rakudo: eval { class A { has $.x } }; say A.new(x=>5).x
> rakudo 33156: OUTPUT[5Null PMC access in
> find_method()current instr.: 'parrot;Perl6;Compiler;main' pc 136910
> (src/gen_actions.pir:13693)]
> it gives the right answer, but then decides to
On Wed Nov 26 04:27:12 2008, ihrd wrote:
> Hi!
> Rakudo 33212, example:
>
> class R { has Range $.range }
> my $r = R.new;
>
> died with:
> Null PMC access in clone()
> current instr.: 'parrot;Perl6Object;!cloneattr' pc 782
>
Ah yes, a missing null check. Added in r33218.
Thanks,
Jonathan
On Sat Nov 08 20:39:00 2008, [EMAIL PROTECTED] wrote:
> rakudo: enum Foo;
> OUTPUT[A method named 'get_string' already exists in
> class ''. It may have been supplied by a role.current instr.:
> '_block15' pc -339673149 ((unknown file):-1)called from Sub
> '_block15' pc 169 (EVAL_11:55)called
On Wed Nov 05 22:58:18 2008, [EMAIL PROTECTED] wrote:
> There are two bugs here. The attached patch fixes bug #2 but not bug
> #1.
>
> Bug #1) "role A::B" is not interpreted as a role, but just as a module.
>
>./perl6 -e 'role A { method foo { say "Foo"; } }; say A.WHAT'
>Role
>
>
On Sun Nov 23 10:33:24 2008, moritz wrote:
> On Sat Oct 18 17:15:30 2008, bacek wrote:
> > Hello.
> >
> > 00:05 bacek
> > rakudo: my $a; $a = $a + 1i; say $a
> >
> > 00:05 polyglotbot
> > OUTPUT[Multiple Dispatch: No suitable candidate found for 'add', with
> > signature 'PPP
- Original Message
> On Tue Nov 25 23:38:58 2008, [EMAIL PROTECTED] wrote:
> > t/spec/S12-methods/default-trait.t (Wstat: 0
> > Tests: 6 Failed: 1)
> > Failed test: 2
> >
> I'd be especially interested in the test output of this one (or to know
> if it's no
Hi!
Thanks for testing. :-)
On Tue Nov 25 23:38:58 2008, [EMAIL PROTECTED] wrote:
> t/spec/S12-methods/default-trait.t (Wstat: 0
> Tests: 6 Failed: 1)
> Failed test: 2
>
I'd be especially interested in the test output of this one (or to know
if it's no longer failing
24 matches
Mail list logo