[perl #67888] Rakudo Bug Report for strange BUILD behavior

2009-07-25 Thread via RT
# New Ticket Created by Robert Hoelz # Please include the string: [perl #67888] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67888 > Rakudo Revision: 240b9847f901971756be969951f8940b371cf166 Parrot Revision: r40249 Offen

[perl #67890] [PATCH] Two patches for the Perl6 compiler

2009-07-25 Thread via RT
# New Ticket Created by Robert Hoelz # Please include the string: [perl #67890] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67890 > See the patches' summaries for details. 0001-Added-Any-to-the-list-of-Perl6-Compiler-s-

[perl #67882] BUG: Trouble mixing match objects and ranges

2009-07-25 Thread via RT
# New Ticket Created by Solomon Foster # Please include the string: [perl #67882] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67882 > Rakudo commit version: 241545b9d6c73f95bd8e5255187c30d5e77e6381 Parrot revision number

Clarification of S04 closure traits

2009-07-25 Thread Ben Morrow
I'm iworking on a patch for Perl 5 that implements the Perl 6 closure traits (ENTER/LEAVE/...) as special blocks. There are several details that aren't clear to me from either S04 or the spec tests; I apologize if these have been discussed before, as I haven't been following p6l. I'm also not subsc

[perl #67818] tests available

2009-07-25 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S02-polymorphic_types/subset.t commit 82ad44091d9fa6f760c7b464384436a4102b4c2f Author: kyle Date: Sun Jul 26 02:27:20 2009 + [t/spec] Test for RT #67818 git-svn-id: http://svn.pugscod

Re: Parameter binding

2009-07-25 Thread yary
On Sat, Jul 25, 2009 at 2:04 PM, Patrick R. Michaud wrote: > On Thu, Jul 23, 2009 at 05:56:31PM +0200, TSa wrote: >> Hmm, it seems to be the case that the binding is defined to be a >> readonly binding to the variable. I consider this a bad thing. >> We should have my $x = 1; foo($x++,$x,$x++); to

Re: Parameter binding

2009-07-25 Thread Patrick R. Michaud
On Thu, Jul 23, 2009 at 05:56:31PM +0200, TSa wrote: > Hmm, it seems to be the case that the binding is defined to be a > readonly binding to the variable. I consider this a bad thing. > We should have my $x = 1; foo($x++,$x,$x++); to call foo(1,2,2) > and not foo(1,3,2) or even foo(2,3,1). The cap

[perl #67888] tests available

2009-07-25 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S12-construction/BUILD.t commit 59f6d2c291dcd44ec88ee6ab5d058919e3c65f94 Author: hoelzro Date: Sat Jul 25 22:49:35 2009 + Added a test for RT #67888 (Perl6::Compiler subclassing and BUILD)

r27726 - docs/Perl6/Spec

2009-07-25 Thread pugs-commits
Author: lwall Date: 2009-07-25 20:09:00 +0200 (Sat, 25 Jul 2009) New Revision: 27726 Modified: docs/Perl6/Spec/S05-regex.pod Log: [S05] permanently reserve ; within regex as indicating missing terminator Modified: docs/Perl6/Spec/S05-regex.pod =

[perl #67876] tests available

2009-07-25 Thread kyleha
This is an automatically generated mail to inform you that tests are now available in t/spec/S06-signature/passing-arrays.t commit 60dbacba9162ee2fbfbe0517dd94c8a5bbb80582 Author: moritz Date: Sat Jul 25 17:17:04 2009 + [t/spec] test for RT #67876 git-svn-id: http://svn.pugsc

[perl #67876] [BUG] readonly trait being passed back to passed variable

2009-07-25 Thread via RT
# New Ticket Created by Richard Hainsworth # Please include the string: [perl #67876] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67876 > Output to the following my @a; foo(@a); @a = 4,3,2; sub foo(@z) { bar(@z) } sub b

Re: indentation with multiple languages

2009-07-25 Thread Moritz Lenz
Mark J. Reed wrote: > On Sat, Jul 25, 2009 at 5:03 AM, Moritz Lenz wrote: >> Presumably you want here-docs, which can be indented in Perl 6: >> >>perl 6 code >>perl 6 code >>$script.say(Q:to); >> output code >> output code >> END >> >> The leading whitespace will

Re: indentation with multiple languages

2009-07-25 Thread Mark J. Reed
On Sat, Jul 25, 2009 at 5:03 AM, Moritz Lenz wrote: > Presumably you want here-docs, which can be indented in Perl 6: > >    perl 6 code >    perl 6 code >    $script.say(Q:to); >         output code >         output code >         END > > The leading whitespace will be pruned from the string. All

[perl #67872] [BUG] Arrays passed through *%_ and stored into attributes get an extra layer of Array around them in Rakudo

2009-07-25 Thread Carl Mäsak via RT
that actually seems right to me because the value portion of a pair is a scalar and placing an array into a scalar creates a reference (modulo any new capture/parcel semantics) pmichaud: ok. let's say I want to have an array in my @!a. (and I need to use *%_ because I'm passing unknown things

[perl #67858] [BUG] Enums have postcircumfix:<[ ]> capability, but give a less than awesome error message when they're used in Rakudo

2009-07-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #67858] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67858 > * masak realizes he can use introspection to find even weirder bugs rakudo: enum foo <>

[perl #67872] [BUG] Arrays passed through *%_ and stored into attributes get an extra layer of Array around them in Rakudo

2009-07-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #67872] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67872 > rakudo: class A { has @!a; method foo { .say for @!a.elems, @!a.perl } }; sub bar(*%_)

[perl #67860] [PATCH] Have an "is" failure in Test.pm report actual and expected results.

2009-07-25 Thread Kyle Hasselbacher
# New Ticket Created by "Kyle Hasselbacher" # Please include the string: [perl #67860] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67860 > For example: not ok 115 - xx= operator parses as item assignment 1# TODO LHS of

[perl #67864] regex match inside a 'given $expr { ... }' block does not set $/

2009-07-25 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #67864] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67864 > 20:56 <@moritz_> rakudo: given 'mrGreen 5 1 23 ' { /<[a..zA..Z]>*\d/ } 20:56 < p6eval> ra

[perl #67868] lexical subs can't be found in the setting

2009-07-25 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #67868] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67868 > If I add a lexical sub in the setting and then call it from within the same file, I get '

[perl #67862] [BUG] Sending named arguments on the form :key(1,2,3) to Positional paramters doesn't work in Rakudo

2009-07-25 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #67862] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67862 > rakudo: sub foo(:@a) { say @a.perl }; foo(:a[42,43,44]) rakudo dd5767: OUTPUT«[42, 43,

Re: indentation with multiple languages

2009-07-25 Thread Moritz Lenz
Richard Hainsworth wrote: > One of Masak's irritations with perl6 > (http://use.perl.org/~masak/journal/39334) concerns interspacing POD and > code. > > I ran into an analogous problem with a project I am trying to do with > perl6. Since perl6 doesnt yet link to the gd library, and I need > gr

indentation with multiple languages

2009-07-25 Thread Richard Hainsworth
One of Masak's irritations with perl6 (http://use.perl.org/~masak/journal/39334) concerns interspacing POD and code. I ran into an analogous problem with a project I am trying to do with perl6. Since perl6 doesnt yet link to the gd library, and I need graphical output, I use perl6 to compile