[perl #123757] [GLR] [BUG] positional attributes initialized via .new are assigned as a list (with flattening) instead of bound

2015-11-28 Thread jn...@jnthn.net via RT
On Sun Feb 08 01:22:03 2015, rayd...@cyberuniverses.com wrote: > ... > 06:11:09 TimToady | hmm > 06:11:42 TimToady | m: class Foo { has @.bar }; say Foo.new( bar => > [1,2,3] ).bar.elems > 06:11:43 +camelia | rakudo-moar d26211: OUTPUT«3␤» > 06:12:20 TimToady | but apparently loses the

[perl #126671] [JVM] Failing tests in S32-hash/adverbs.t and S32-array/adverbts.t: Ordering of elements of @!unexpected in X::Adverb

2015-11-28 Thread Christian Bartolomaeus via RT
I changed the tests to not expect a specific order with commit: https://github.com/perl6/roast/commit/f1df147714 I'm closing this ticket as 'resolved'.

[perl #125689] [BUG] No error when doing 'is trait' and the trait is missing in Rakudo

2015-11-28 Thread jn...@jnthn.net via RT
On Sun Oct 11 03:11:45 2015, n...@detonation.org wrote: > The endless loop is a bootstrap issue. It starts with routine_def: > if $ { > # Protect with try; won't work when declaring the initial > # trait_mod proto in CORE.setting! > try

[perl #126495] [JVM] This type does not support positional operations

2015-11-28 Thread Christian Bartolomaeus via RT
The tests in S32-io/spurt.t are passing (again) on rakudo.jvm. I'm closing this ticket as 'resolved'.

[perl #111498] [BUG] something weird is going on with object hashes and mixed-in objects in Rakudo

2015-11-28 Thread Christian Bartolomaeus via RT
Current behaviour: $ perl6-m -e 'my $r1 = role { method foo() { 5 } }; my $r2 = role { method foo() { 7 } }; my %hash{Any}; %hash{"quux" but $r1} = 9; %hash{"quux" but $r2} = 11; say %hash.keys>>.foo' (5 7) Is that the expected answer?

[perl #121310] [BUG] Null PMC access when smartmatching True ~~ True on the REPL in Rakudo on Parrot

2015-11-28 Thread Christian Bartolomaeus via RT
As a status update: There is no NPE anymore: $ ./perl6-j > True ~~ True Potential difficulties: Smartmatch against True always matches; if you mean to test the topic for truthiness, use :so or *.so or ?* instead at :1 --> True ~~⏏ True TrueTrue >

[perl #126757] LTA error message talks about ~ but there is no ~ in my code (33..126 .pick.chr)

2015-11-28 Thread via RT
# New Ticket Created by Alex Jakimenko # Please include the string: [perl #126757] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126757 > Code: say (33..126 .pick.chr); Result: Cannot convert string to number: base-10

[perl #117097] [BUG] say $!.WHAT fails in CATCH block

2015-11-28 Thread Christian Bartolomaeus via RT
On Sat Nov 28 07:49:05 2015, barto...@gmx.de wrote: > There was a short discussion on #perl6 about this recently: > http://irclog.perlgeek.de/perl6/2015-11-17#i_11554013 > > ZoffixW How come $! is empty? > m: my ( $v1, $op, $v2 ) = (2, '-', "zoffix"); my $x = > try { EVAL

[perl #126756] Segfault on single utf8-c8 synthetic

2015-11-28 Thread via RT
# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #126756] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126756 > [15:04:37] m: Buf.new(0xFE).decode("utf8-c8") # jnthn might find this

[perl #115310] [BUG] NullPointerException with REPL on attribute with unsupported type

2015-11-28 Thread Christian Bartolomaeus via RT
This works now: $ perl6-m -e 'class A { has @.a of int }; my $foo = A.new; $foo.a = 1,2,3; say $foo.perl' A.new(a => array[int].new(1, 2, 3)) Also, there is no NPE with the REPL: $ echo 'class A { has @.a of int }' | perl6-j > > I added a test to S12-class/attributes.t with commit

[perl #117097] [BUG] say $!.WHAT fails in CATCH block

2015-11-28 Thread Christian Bartolomaeus via RT
There was a short discussion on #perl6 about this recently: http://irclog.perlgeek.de/perl6/2015-11-17#i_11554013 ZoffixW How come $! is empty? m: my ( $v1, $op, $v2 ) = (2, '-', "zoffix"); my $x = try { EVAL "$v1 $op $v2"; CATCH { fail "Invalid operand to Color: Got

Re: [perl #126757] LTA error message talks about ~ but there is no ~ in my code (33..126 .pick.chr)

2015-11-28 Thread Timo Paulssen
This error occurs because 126.pick gives 126, 126.chr is "~". Then the .. operator tries to numify its RHS, which is "~". That goes wrong, of course. So this is just a precedence problem with ranges. Do you have a better suggestion for the error message here? Otherwise i'd close this as

Announce: Rakudo Star Release 2015.11

2015-11-28 Thread Moritz Lenz
On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the November 2015 release of "Rakudo Star", a useful and usable distribution of Perl 6. The tarball for the November 2015 release is available from . This Rakudo Star release comes with

Re: [perl #126757] LTA error message talks about ~ but there is no ~ in my code (33..126 .pick.chr)

2015-11-28 Thread Aleks-Daniel Jakimenko-Aleksejev
Thanks! Indeed! I should have tried understanding the issue and golfing it down myself. So the snippet can be golfed down to: say +126.chr The bug is still there, please don't close. In fact, the title is very precise. “126.chr” is still “126.chr”. It is less than awesome to whine about some

[perl #126759] [BUG] EVAL not working with custom circumfixes,terms, etc

2015-11-28 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #126759] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126759 > presently EVAL doesn't work with custom: - postcirumfix - circumfix - terms