[perl #121530] die() shouldn't abort LEAVE queue, but it does on JVM and on MoarVM

2015-10-05 Thread jn...@jnthn.net via RT
On Fri Mar 28 12:59:42 2014, moritz wrote: > S04-phasers/enter-leave.t has this test: > > my $str; > try { > LEAVE { $str ~= '1' } > LEAVE { $str ~= '2'; die 'foo' } > } > is $str, '21', 'die doesn\'t abort LEAVE queue'; > > which passes on parrot, but fails on the

[perl #123154] Stash values are all Mu

2015-10-05 Thread jn...@jnthn.net via RT
On Fri Nov 07 20:44:27 2014, r...@hoelz.ro wrote: > Example: > > .say for OUTER::OUTER::.values; # a bunch of Mus > > Shouldn't this be equivalent to my $stash = OUTER::OUTER::; .say for > %stash.map({ %stash{$_} })? Fixed now, and test coverage added in S02-names/pseudo.t.

[perl #126270] [BUG] Something fishy with lines() and looping over two items at a time in Rakudo

2015-10-05 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #126270] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126270 > p6: spurt('/tmp/ABCD.txt', "A\nB\nC\nD"); for '/tmp/ABCD.txt'.IO.lines() -> $x, $y { sa

[perl #126269] [BUG] unexpected behavior for reduced composition

2015-10-05 Thread via RT
# New Ticket Created by grond...@yahoo.fr # Please include the string: [perl #126269] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126269 > $ perl6 --version This is perl6 version 2015.09-236-g0cca607 built on MoarVM versio

[perl #126216] [Moar] --profile output wildly wrong when program calls "exit"

2015-10-05 Thread jn...@jnthn.net via RT
On Mon Sep 28 19:36:24 2015, coke wrote: > Here's a very small program that demonstrates a problem with --profile: > > perl6 --profile --profile-filename=nan.html -e 'exit' > > When you examine the Routines tab in nan.html, it shows that > "sink-all" took 18446744073709ms, but it also shows that

Re: grep changes?

2015-10-05 Thread Jonathan Scott Duff
The block does get the topic, but the regex isn't executing immediately. Another way to get what you want, rather than mentioning the topic explicitly, is to use the m// form of match. > grep { m/\.pl6/ }, (a.pl6) For sanity's sake, I would recommend writing your match-immediately regex like th

[perl6/specs] 184778: Remove contents.pod

2015-10-05 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 1847780feeb0224cb5387b49c5c265ede5d14bc4 https://github.com/perl6/specs/commit/1847780feeb0224cb5387b49c5c265ede5d14bc4 Author: ShimmerFairy Date: 2015-10-03 (Sat, 03 Oct 2015) Changed paths: R conte

[perl6/specs] f6234f: fix L to L

2015-10-05 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: f6234f1c6dbf90807544e7571a6deab6b94ab0ff https://github.com/perl6/specs/commit/f6234f1c6dbf90807544e7571a6deab6b94ab0ff Author: Lucien Grondin Date: 2015-10-02 (Fri, 02 Oct 2015) Changed paths: M S99

[perl #126264] LTA error message for keywords like "eval" or "begin" in lower case

2015-10-05 Thread via RT
# New Ticket Created by quester # Please include the string: [perl #126264] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126264 > If you absent-mindedly type in keywords that should be capitalized in lower case, the compile

[perl #126262] IO::Path.absolute(): String or IO::Path?

2015-10-05 Thread via RT
# New Ticket Created by d...@cs.serenevy.net # Please include the string: [perl #126262] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126262 > http://doc.perl6.org/type/IO::Path#method_absolute Says: method absolute (IO::Pa

Re: [perl #126263] Problem when reentering the grammar engine from an action

2015-10-05 Thread Timo Paulssen
The thing is that G.parse('a') puts (well, tries to put) the parse result into $/. $/ is a part of your method's signature and by default those are read-only. That's why you're being accused of assigning to a readonly variable. what you'll need to do is either call the parameter something else

[perl #101448] [BUG] No error on assigning a type object to a :D-constrained container in Rakudo

2015-10-05 Thread Tobias Leich via RT
jnthn: I think we want to do it at MOP level in the future, if nothing else for speed. jnthn: I think we should force an initializer on :D'd things. .new is a bad default. Try this: `class C { has $.x = rand }; for ^5 { my C:D $foo; say $foo.x }` jnthn: also we totally drop the thing on the floo

[perl #101448] [BUG] No error on assigning a type object to a :D-constrained container in Rakudo

2015-10-05 Thread Tobias Leich via RT
Patch: https://github.com/rakudo/rakudo/commit/8dd74406e6 Tagging testneeded.