[perl #128702] Range in container coerced to Num inside array subscript

2016-07-23 Thread jn...@jnthn.net via RT
On Fri Jul 22 15:34:02 2016, gfldex wrote: > my @numbers = <4 8 15 16 23 42>; my $range = 0..2; .say for > @numbers[$range]; > # OUTPUT«16␤» > # expected: > # OUTPUT«4␤8␤15␤» > This is correct, and part of the "Scalar container implies item" rule. Changing it would break things like the second e

[perl #128705] Segfault on unicode string handling

2016-07-23 Thread via RT
# New Ticket Created by Aaron Sherman # Please include the string: [perl #128705] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128705 > On rakudo version 2016-04 and also the current m: bot version on IRC, this code segfault

Re: [perl #128705] Segfault on unicode string handling

2016-07-23 Thread Nicholas Clark
On Sat, Jul 23, 2016 at 10:48:40AM -0700, Aaron Sherman wrote: > $ perl6 -e 'for 0..0x -> $i { say $i if $i %% 100; my $c = try { > :16(uniprop($i.chr, "Bidi_Mirroring_Glyph")).chr }; say "{$i.fmt("%04x")}: > {$i.chr} ~ $c" if $c.defined}' > 0 > 100 > 200 > 300 > 400 > 500 > 600 > 700 > 800 >

[perl #128706] Unicode character from name

2016-07-23 Thread via RT
# New Ticket Created by Aaron Sherman # Please include the string: [perl #128706] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128706 > I have a name in a scalar of a unicode codepoint. I want to get the codepoint number or

[perl #128710] combining :D, a where clause and Nil results in empty type object

2016-07-23 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #128710] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128710 > sub niler{Nil}; my Int:D $i where .defined = niler(); say $i; say $i.WHAT; # OUTPUT«(

[perl #128711] NQP needs "!~~" operator

2016-07-23 Thread via RT
# New Ticket Created by Tom Browder # Please include the string: [perl #128711] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128711 > NQP currently requires this: unless $var ~~ $regex { ... } but it would be convenient

[perl #128712] [LTA] quote colon form in identifier lacks line number

2016-07-23 Thread via RT
# New Ticket Created by Wenzel Peppmeyer # Please include the string: [perl #128712] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128712 > my $i = 42; my $foo:bar«$i»; # OUTPUT: #===SORRY!=== #QAST::Var with scope '' NYI # #

[perl #128714] [LTA] Error when calling .^DEFINITE instead of .DEFINITE

2016-07-23 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #128714] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128714 > When I looked at the docs for DEFINITE and saw mention of metamodel, I just assumed I'd n

[perl #128717] [LTA] react whenever throws a cryptic error

2016-07-23 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #128717] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128717 > Blockless `react` seems to be unsupported and the error message it throws is cryptic and

[perl #128718] Strange error when attempting to redo a supply block

2016-07-23 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #128718] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128718 > Not even sure what causes that, but removing the `redo` avoids the error. $ perl6 -e 'rea