# 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
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
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
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
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
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