[perl #121719] [BUG] -p busted on Moar in Rakudo

2014-10-20 Thread Christian Bartolomaeus via RT
This seems to work now: $ echo "This is cool" | ./perl6-m -p -e 's/cool/nice/' This is nice $ echo "This is cool" | ./perl6-p -p -e 's/cool/nice/' This is nice $ echo "This is cool" | ./perl6-j -p -e 's/cool/nice/' This is nice Since there is also a similiar test in S19-command-line-options/03-

[perl6/specs] 928223: start revising the highly maligned macro specs :-)

2014-10-20 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 928223546f5bb41765920cce2b8d5727b510097b https://github.com/perl6/specs/commit/928223546f5bb41765920cce2b8d5727b510097b Author: TimToady Date: 2014-10-19 (Sun, 19 Oct 2014) Changed paths: M S06-routi

[perl #123015] methods for accessing binary data in Buf objects

2014-10-20 Thread via RT
# New Ticket Created by Alexander Hartmaier # Please include the string: [perl #123015] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=123015 > As discussed on IRC mainly with moritz I'd need a way to get the number of bytes,

[perl #122313] [parrot] Failures in S06-routine-modifiers/lvalue-subroutines.t

2014-10-20 Thread Christian Bartolomaeus via RT
I tried to golf this down and got the following on Parrot (it runs on Moar and JVM): $ perl6-p -e 'Proxy.new( FETCH => sub ($var) { 42 } );' Segmentation fault The next three commands are okay: $ perl6-p -e 'Proxy.new( FETCH => sub ($) { 42 } ); say "alive"' alive $ perl6-p -e 'Proxy.new( FETCH

[perl #122319] [BUG] S32-temporal/local.t tests are excluded on most systems

2014-10-20 Thread Christian Bartolomaeus via RT
AFAIU this was fixed with the following commit, which explicitly sets the timezone to America/New_York: https://github.com/perl6/roast/commit/04d38c8a3cc04519dfd213c6281186cbd67cce51 If that was not what you meant, please reopen the ticket.

[perl #121990] [NYI] Can't smartmatch a DateTime against a Date

2014-10-20 Thread Christian Bartolomaeus via RT
On Wed Jul 30 10:59:43 2014, duff wrote: > On Fri May 30 08:20:25 2014, masak wrote: > > Woodi, a Date is like today, or tommorroy, or June 4, > > 1977 > > A DateTime is like Friday May 30, 2014 11:11 AM and > > 3.141592 seconds. > > Woodi: though not strictly necessary, Date is there for two >

[perl #121994] Array receives an empty itemized list

2014-10-20 Thread Christian Bartolomaeus via RT
This also works now on Moar: $ perl6-m -e 'my @a; @a.push: $("one,two,three".split(",")); say @a;' one two three There was a test added to S02-types/lazy-lists.t with the following commit: https://github.com/perl6/roast/commit/6538a38cfe5492fc65412440e56a46c3163fb6f9 I just fudged the test for

[perl #75858] [BUG] Can't use a where clause on an attribute without surrounding name and where clause in parentheses in Rakudo

2014-10-20 Thread Christian Bartolomaeus via RT
On Thu Oct 16 02:51:19 2014, barto...@gmx.de wrote: > But before adding tests I wonder whether the where clause has any > effect. Shouldn't the following complain that $.color is restricted to > values 1 and 2? > > $ perl6 -e 'class A { has Int $.color where 1|2 }; my $a = A.new( > color => 3 ); s

[perl #122218] Strange segfault on MMD / pair / named parameter ambiguity

2014-10-20 Thread Christian Bartolomaeus via RT
FWIW I don't get segfaults for Moar anymore. For parrot it's flapping: sometimes I get a segfault, sometimes I don't. The command segfaults more often than it does not: $ for i in $(seq 1 100); do perl6-p -e 'multi a(:$a!) { "named" }; multi a($a) { "positional" }; my $a = "a"; a(a => 1); a("a"

[perl #122469] .indent does not coerce args to int

2014-10-20 Thread Christian Bartolomaeus via RT
This works no (again) and the test in S32-str/indent.t was unfudged. $ perl6 -e '"asdf".indent('0x10').say;' asdf I'm closing this ticket.

[perl #122502] [BUG] Parse error on a way of writing ranges in infix:<**> quantifiers that probably should work in Rakudo

2014-10-20 Thread Christian Bartolomaeus via RT
Since the test in S32-exceptions/misc.t passes for Rakudo on Moar, Parrot and JVM, I'm closing this ticket.