[perl #122929] quoted LHS of pair constructor inside enum definition makes elements be ignored

2014-10-09 Thread via RT
# New Ticket Created by Timo Paulssen # Please include the string: [perl #122929] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=122929 > compare: > perl6-m -e 'enum Bug ("foo" => -1, "A", "B"); say +A; say +B;' > 1 > 2

[perl #118387] [BUG] LEAVE doesn't trigger when an exception is thrown

2014-10-09 Thread Christian Bartolomaeus via RT
The described problem (no 'OK' is printed) persists on Parrot but works fine on Moar and JVM: $ perl6-p -e 'sub foo { LEAVE { say "OK" }; die "died" }; foo()' 2>/dev/null $ perl6-m -e 'sub foo { LEAVE { say "OK" }; die "died" }; foo()' 2>/dev/null OK $ perl6-j -e 'sub foo { LEAVE { say "OK" }; di

[perl #116695] [BUG] Wrong array length when Mu elements and delete interact in Rakudo

2014-10-09 Thread Christian Bartolomaeus via RT
Well, this bug is gone, then. I added a test to S32-array/delete.t with the following commit: https://github.com/perl6/roast/commit/f386c96536 I had (and have) some difficulties to find the references in the spec for the correct behaviour -- especially with regard to the following quotes from an

[perl #116607] [BUG] LTA internal error when forgetting initialization assignment on backslash-variable declaration in Rakudo

2014-10-09 Thread Christian Bartolomaeus via RT
The error message matches that of STD now: $ perl6-m -e 'my \foo' ===SORRY!=== Error while compiling -e Term definition requires an initializer at -e:1 --> my \foo⏏ expecting any of: scoped declarator I added a test to S32-exceptions/misc.t with the following commit: https://gith

[perl #112988] excessive errors when foo.pl does not exist

2014-10-09 Thread Will Coleda via RT
On Tue Oct 07 13:11:24 2014, barto...@gmx.de wrote: > This looks better now: > > $ perl6-m foo > Could not open foo. Failed to open file: no such file or directory > $ perl6-p foo > Could not open foo. Unable to open filehandle from path 'foo': No such > file or directory(2) > $ perl6-j foo > Coul

[perl #77616] ~ operator in regexp reverts capture order, but it should not

2014-10-09 Thread Christian Bartolomaeus via RT
Thanks for the feedback. I added a fudged test to S05-metachars/tilde.t with the following commit: https://github.com/perl6/roast/commit/f15d9aed26