[perl #73738] [BUG] Null PMC access when using the value of a try block in Rakudo

2010-03-23 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #73738] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73738 moritz_ rakudo: try { 'a' ~~ /'' ~ '' a/ }; say alive; p6eval rakudo 35f337:

[perl #73740] [BUG] Parsefail when semicolon missing from 'use' statement in Rakudo

2010-03-23 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #73740] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73740 Bug courtesy of uasi on Twitter: http://twitter.com/uasi/status/10873572370. masak

[perl #73758] [BUG] Multiline comments fail in rakudo

2010-03-23 Thread via RT
# New Ticket Created by Life U. Everything # Please include the string: [perl #73758] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73758 lue rakudo: #`hello?there p6eval rakudo 35f337: OUTPUT«Confused at line 12,

[perl #73760] Rakudo can't load classes from inside a module

2010-03-23 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #73760] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73760 Consider these files: # JSON/Tiny.pm module JSON::Tiny; use JSON::Tiny::Grammar; #

[perl #73742] [BUG] Parsefail when semicolon missing from statement class declaration in Rakudo

2010-03-23 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #73742] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73742 moritz_ rakudo: class JSON::Tiny::Actions p6eval rakudo 35f337: OUTPUT«Malformed

Something about the cascade calling of sort() in rakudo.

2010-03-23 Thread Hongwen Qiu
Hi, I'm new to Perl6. And just ran the first example in the perl6 book. But, it refused to work. It complains as follows: Too many positional parameters passed; got 2 but expected between 0 and 1 I find out that the problem is in the line: my @sorted = @names.sort({ %sets{$_} }).sort({

Re: Something about the cascade calling of sort() in rakudo.

2010-03-23 Thread Moritz Lenz
Hi, Hongwen Qiu wrote: Hi, I'm new to Perl6. And just ran the first example in the perl6 book. But, it refused to work. It complains as follows: Too many positional parameters passed; got 2 but expected between 0 and 1 I find out that the problem is in the line: my @sorted =

Re: Something about the cascade calling of sort() in rakudo.

2010-03-23 Thread Solomon Foster
2010/3/23 Moritz Lenz mor...@faui2k3.org: Hi, Hongwen Qiu wrote: Hi, I'm new to Perl6. And just ran the first example in the perl6 book. But, it refused to work. It complains as follows: Too many positional parameters passed; got 2 but expected between 0 and 1 I find out that the problem

You never have privacy from your children in Perl 6

2010-03-23 Thread Carl Mäsak
Wanting to run the recent class-attribute discussion[0] through the neural net of my friend, I described to him in detail how the current system with attributes works. He's kind of a Java guy, and though he liked the twigil distinction between private and public, he asked how to produce a

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Moritz Lenz
Carl Mäsak wrote: masak um, so 'protected' is when the deriving classes can see the attribute? jonalv yup masak that's what 'private' means in Perl 6. That's wrong. Perl 6's private is like Java's private - subclasses can't see it. It's just Rakudo being leaky at the moment, not a fallacy of

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Carl Mäsak
Carl (), Moritz (): masak um, so 'protected' is when the deriving classes can see the attribute? jonalv yup masak that's what 'private' means in Perl 6. That's wrong. Perl 6's private is like Java's private - subclasses can't see it. It's just Rakudo being leaky at the moment, not a

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Moritz Lenz
Carl Mäsak wrote: Carl (), Moritz (): masak um, so 'protected' is when the deriving classes can see the attribute? jonalv yup masak that's what 'private' means in Perl 6. That's wrong. Perl 6's private is like Java's private - subclasses can't see it. It's just Rakudo being leaky at

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Daniel Ruoso
Em Ter, 2010-03-23 às 19:41 +0100, Carl Mäsak escreveu: masak um, so 'protected' is when the deriving classes can see the attribute? jonalv yup masak that's what 'private' means in Perl 6. jonalv what? so there's only really 'public' and 'protected', but no 'private'? masak basically, yes.

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Moritz Lenz
Daniel Ruoso wrote: Em Ter, 2010-03-23 às 19:41 +0100, Carl Mäsak escreveu: masak um, so 'protected' is when the deriving classes can see the attribute? jonalv yup masak that's what 'private' means in Perl 6. jonalv what? so there's only really 'public' and 'protected', but no 'private'?

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Daniel Ruoso
Em Ter, 2010-03-23 às 20:53 +0100, Moritz Lenz escreveu: unless you count 'trusts' traits, which are specific to single classes, not groups of subclasses Yes, that was what I meant... daniel

r30180 - docs/Perl6/Spec

2010-03-23 Thread pugs-commits
Author: moritz Date: 2010-03-23 21:13:55 +0100 (Tue, 23 Mar 2010) New Revision: 30180 Modified: docs/Perl6/Spec/S12-objects.pod Log: [S12] document that trusts traits do not extend to child classes, as per TimToady++ Modified: docs/Perl6/Spec/S12-objects.pod

Re: You never have privacy from your children in Perl 6

2010-03-23 Thread Raphael Descamps
Am Dienstag, den 23.03.2010, 20:06 +0100 schrieb Moritz Lenz: Carl Mäsak wrote: Carl (), Moritz (): masak um, so 'protected' is when the deriving classes can see the attribute? jonalv yup masak that's what 'private' means in Perl 6. That's wrong. Perl 6's private is like Java's