r30205 - docs/Perl6/Spec

2010-03-26 Thread pugs-commits
Author: lwall Date: 2010-03-26 08:38:16 +0100 (Fri, 26 Mar 2010) New Revision: 30205 Modified: docs/Perl6/Spec/S02-bits.pod docs/Perl6/Spec/S03-operators.pod docs/Perl6/Spec/S05-regex.pod docs/Perl6/Spec/S06-routines.pod docs/Perl6/Spec/S12-objects.pod Log: [specs] Make it clear

[perl #73806] if() not parsed as sub call; should do, and emit a warning

2010-03-26 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #73806] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73806 10:15 @moritz_ rakudo: my @b= 5, 1, 2; if(@b2) {say 'yes';} 10:15 +p6eval rakudo

[perl #73808] Providing a list of attributes to a single 'has' leads to IMCC syntax errors

2010-03-26 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #73808] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73808 ./perl6 -e 'class A { has ($!a, $!b) }' error:imcc:syntax error, unexpected ')'

[perl #73818] Test::is flattens arguments

2010-03-26 Thread Mark J. Reed
# New Ticket Created by Mark J. Reed # Please include the string: [perl #73818] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73818 This test currently passes: is [1,2,3,4], [[1,2],[3,4]] and I'm thinking it

[perl #73816] Zip flattens result

2010-03-26 Thread Mark J. Reed
# New Ticket Created by Mark J. Reed # Please include the string: [perl #73816] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73816 my @a = (1,2) Z (3,4); say @a.perl [1, 3, 2, 4] Per S03, that should be

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

2010-03-26 Thread Carl Mäsak
Carl (), Darren (): I didn't get it to trust me, though: masak pugs: class A { has $!foo }; class B { trusts A; method bar(A $a) { say $a!foo } }; B.new.bar(A.new(:bar(42))) p6eval pugs: OUTPUT«␤» Either it bitrotted or I'm using it wrong. You're using it wrong.  You need to put 'trusts

Re: [perl #73818] Test::is flattens arguments

2010-03-26 Thread Mark J. Reed
Yes, I found that after I submitted the bug. I still find it surprising that differently-nested structures stringify to the same thing, and the names seem a bit misleading, since stringification is still deep (it has to recurse into the structure to pull out all the leaves). I'm wondering if

[perl #73836] [BUG] Cannot do infix:Z on two item operands in Rakudo

2010-03-26 Thread Carl Mäsak
# New Ticket Created by Carl Mäsak # Please include the string: [perl #73836] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73836 moritz_ rakudo: say 2 Z 3 p6eval rakudo db0f85: OUTPUT«No applicable candidates found

Build Rakudo with Distutils

2010-03-26 Thread François Perrad
Find attached a script 'setup.nqp' for building/testing Rakudo. The library 'disutils' is shipped with Parrot. See https://trac.parrot.org/parrot/browser/trunk/runtime/parrot/library/distutils.pir This library removes the dependences with Makefile various make utilities, and remove the

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

2010-03-26 Thread Jason Switzer
On Fri, Mar 26, 2010 at 7:16 AM, Carl Mäsak cma...@gmail.com wrote: You're using it wrong. You need to put 'trusts B;' in A in order for B to see A's privates. I hope it is obvious why this is the case. -- Darren Duncan Aye, my mistake. Apparently the syntax I used to try to get at the

Re: r30205 - docs/Perl6/Spec

2010-03-26 Thread Geoffrey Broadwell
On Fri, 2010-03-26 at 08:38 +0100, pugs-comm...@feather.perl6.nl wrote: .doit: { $^a = $^b } # okay .doit(): { $^a = $^b }# okay .doit(1,2,3): { $^a = $^b } # okay +.doit(1,2,3): { $^a = $^b } # okay +.doit:{ $^a = $^b }

r30211 - docs/Perl6/Spec

2010-03-26 Thread pugs-commits
Author: lwall Date: 2010-03-27 01:59:04 +0100 (Sat, 27 Mar 2010) New Revision: 30211 Modified: docs/Perl6/Spec/S12-objects.pod Log: [S12] pasto noticed by goeff++ Modified: docs/Perl6/Spec/S12-objects.pod === ---