More about arrayref/hashref in spectest suite

2008-11-07 Thread Patrick R. Michaud
I'm still working on issues with arrayrefs and hashrefs in the spectest suite. S02-literals/autoref.t:59 has the following: # Implicit referentiation of arrays in assignment to an array element { my @array = ; my @other; @other[1] = @array; is [EMAIL PROTECTED],

Re: [perl #60396] [BUG] escape opcode returns incorrect result

2008-11-07 Thread chromatic
On Friday 07 November 2008 14:56:34 Patrick R. Michaud (via RT) wrote: > There's a bug somewhere in the escape opcode > (r32442, no libicu present). Here's the test case: > > $ cat y.pir > .sub main > $S0 = unicode:"x/\u0445\u0440\u0435\u043d\u044c_09-10.txt" > say $S0 > $S1

[svn:perl6-synopsis] r14604 - doc/trunk/design/syn

2008-11-07 Thread larry
Author: larry Date: Fri Nov 7 18:00:20 2008 New Revision: 14604 Modified: doc/trunk/design/syn/S03.pod Log: copy/paste error Modified: doc/trunk/design/syn/S03.pod == --- doc/trunk/design/syn/S03.pod(origina

[svn:perl6-synopsis] r14603 - doc/trunk/design/syn

2008-11-07 Thread larry
Author: larry Date: Fri Nov 7 16:04:15 2008 New Revision: 14603 Modified: doc/trunk/design/syn/S03.pod Log: smartmatch of Hash against Pair should match against both key and value Modified: doc/trunk/design/syn/S03.pod

Re: File test ops as string methods

2008-11-07 Thread Larry Wall
On Fri, Nov 07, 2008 at 05:49:54PM -0500, Mark J. Reed wrote: : I'm sure this has been hashed out somewhere I wasn't looking, but i : would really prefer for pathname ops not to be mixed in to the Str : class. Maybe they could be put in a Pathname subclass of Str, with a : simple literal syntax or

Re: File test ops as string methods

2008-11-07 Thread Brandon S. Allbery KF8NH
On 2008 Nov 7, at 17:49, Mark J. Reed wrote: I'm sure this has been hashed out somewhere I wasn't looking, but i would really prefer for pathname ops not to be mixed in to the Str class. Maybe they could be put in a Pathname subclass of Str, with a simple literal syntax or short unary operator t

File test ops as string methods

2008-11-07 Thread Mark J. Reed
I'm sure this has been hashed out somewhere I wasn't looking, but i would really prefer for pathname ops not to be mixed in to the Str class. Maybe they could be put in a Pathname subclass of Str, with a simple literal syntax or short unary operator to build such a thing from a string? -- Sent

[perl #58922] .perl for self-referent structures

2008-11-07 Thread Patrick R. Michaud via RT
I'm going to mark this ticket as stalled until we have a good idea of how self-referent structures should be handled in the output, either through the spec itself or the spectests. Thanks! Pm

[perl #58820] [BUG] symbol ь in regex produc e synta"x error, unexpected LABEL ('unicode') "

2008-11-07 Thread Patrick R. Michaud via RT
On Thu Sep 25 10:43:10 2008, moritz wrote: > On Sat Sep 13 00:30:24 2008, ihrd wrote: > > Hi, > > regex Test { + }; > > "x/хрень_09-10.txt" ~~ Test; > > say $/; > > This works all fine here, r31410 (and with icu linked). > Could you please try again with a recent version of parrot and rakudo, > an

[perl #60396] [BUG] escape opcode returns incorrect result

2008-11-07 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #60396] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=60396 > There's a bug somewhere in the escape opcode (r32442, no libicu present). Here's

[perl #58744] Hashes flatten lists

2008-11-07 Thread Patrick R. Michaud via RT
Now fixed in r32441. Here are the results: $ ./parrot perl6.pbc > .perl.say for {a => []}.kv "a" ["b", "c"] > my %a = (a => [[3], [4,5]]); say %a.perl [[3], [4, 5]] > my %a = (a => [[3], [4,5]]); say %a.perl; {"a" => [[3], [4, 5]]} > (a => [[1], [2]]).perl.say ("a" => [[1], [2]]) > my %a = (a =>

[perl #58526] nested arrays broken in Rakudo

2008-11-07 Thread Patrick R. Michaud via RT
This bug is fixed in r32441: $ ./parrot perl6.pbc -e 'say [[1,2,3],[4,5,6]].pick(*)' 4 5 61 2 3 $ ./parrot perl6.pbc -e 'say [[1,2,3],[4,5,6]].pick(*).perl' [[1, 2, 3], [4, 5, 6]] $ ./parrot perl6.pbc -e 'my %a = (a => [[1,2,3],[4,5,6]]); say %a.perl' [[1, 2, 3], [4, 5, 6]] $ Closing ticket, tha

Re: [perl #60382] AutoReply: [TODO] Implement .fmt

2008-11-07 Thread Carl Mäsak
Removed a few trailing spaces, and rewrote the comment in Mapping::fmt to reflect more accurately what it does. New patch attached. fmt-small-fixes.patch Description: Binary data

Re: [perl #60382] AutoReply: [TODO] Implement .fmt

2008-11-07 Thread Carl Mäsak
Implementation attached. fmt.patch Description: Binary data

[svn:perl6-synopsis] r14602 - doc/trunk/design/syn

2008-11-07 Thread larry
Author: larry Date: Fri Nov 7 10:10:52 2008 New Revision: 14602 Modified: doc/trunk/design/syn/S02.pod Log: recast $?FOO matching in terms of new pair matching syntax Modified: doc/trunk/design/syn/S02.pod == --- do

[svn:perl6-synopsis] r14601 - doc/trunk/design/syn

2008-11-07 Thread larry
Author: larry Date: Fri Nov 7 09:54:43 2008 New Revision: 14601 Modified: doc/trunk/design/syn/S03.pod doc/trunk/design/syn/S12.pod Log: get rid of pair methods; $obj ~~ :foo($bar) now simply does $obj.foo ~~ $bar with all other adverbial pair notations having corresponding meanings, so yo

[svn:perl6-synopsis] r14600 - doc/trunk/design/syn

2008-11-07 Thread larry
Author: larry Date: Fri Nov 7 09:02:15 2008 New Revision: 14600 Modified: doc/trunk/design/syn/S02.pod Log: add $?VM and $?DISTRO, recast versions as object info Modified: doc/trunk/design/syn/S02.pod == --- doc/tru