[perl #131705] constant Regex: getlex: outer index out of range

2017-07-04 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #131705] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131705 > echo 'constant @foo is export = /{ say "hello" } ./, > Foo.pm6 perl6 -I. -e 'use Foo;

[perl #131704] Can't use unknown trait 'is export' in a regex declaration

2017-07-04 Thread via RT
# New Ticket Created by Lloyd Fournier # Please include the string: [perl #131704] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131704 > perl6 -e 'constant $foo is export = /foo/;' &is-export seems to be being called on the

[perl #131703] [IO] [REGRESSION] Command line arguments try and open as a file

2017-07-04 Thread via RT
# New Ticket Created by Samantha McVey # Please include the string: [perl #131703] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131703 > Here is the offending code https://gist.github.com/9ed8322b4c9e1a40e1f3df495d8cee1d (no

[perl #131700] [IO] prompt not working on bash-on-ubuntu on win10

2017-07-04 Thread via RT
# New Ticket Created by gfw blackcat # Please include the string: [perl #131700] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131700 > In bash on win10 Code: perl6 --ll-exception -e ' prompt "123" ' Output: 123 Cannot fl

[perl #130366] BagHash/MixHash values don't check for zeroness

2017-07-04 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was resolved together with https://rt.perl.org/Ticket/Display.html?id=131241 Tests needed, maybe. See other ticket for info on this. On 2016-12-17 01:42:04, elizabeth wrote: > $ 6 'my $b = .BagHash; $_-- for $b.values; dd $b' > BagHash $b = ("a"=>0,"c"=>0,"b"=>1,"e"=>0,"f"=>0,"d"=>0).BagHash

[perl #131241] (Bag|Mix)Hash.values doesn't check validity of assigned values

2017-07-04 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
The fix for this ticket also fixed https://rt.perl.org/Public/Bug/Display.html?id=130366 However, we couldn't find any tests… are there any? If they, perhaps they also cover 130366. On 2017-05-01 14:31:19, elizabeth wrote: > Fixed for the .values case with c1bd844e2752799af8e and > 0e0ac2fb8c51a8

[perl #131137] Throw out TAP.pm from core

2017-07-04 Thread Zoffix Znet via RT
Done in https://github.com/rakudo/rakudo/commit/ae891f93676fdf412c7e8fa517f5bda2bd6a41d6

[perl #131695] [LTA] Confusion in precedence with <<$foo>>[0]

2017-07-04 Thread Larry Wall via RT
We now warn on the ambiguity of >> or » when used where it could easily be intended as either a hyper or the quotewords terminator. While we could, in theory, do some lookahead to try to suppress this warning in some cases, it will be brittle in the face of languages that mutate the postfix spa

[perl #131701] [PARSER] Failure to parse `[[],]`

2017-07-04 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #131701] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131701 > Works (space between brackets and ): $ perl6 -e 'dd [[ ],]' [["a"],] Doesn't (no

[perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Zoffix Znet via RT
On Tue, 04 Jul 2017 07:20:50 -0700, elizabeth wrote: > > Hm. Wouldn't that make behavior of Lists and Arrays different? > > No, because Lists are supposed to be immutable wrt to the number of > elements. Yes, but that doesn't mean the user of the list necessarily knows or has to know how many el

[perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Zoffix Znet via RT
On Tue, 04 Jul 2017 07:20:50 -0700, elizabeth wrote: > > Hm. Wouldn't that make behavior of Lists and Arrays different? > > No, because Lists are supposed to be immutable wrt to the number of > elements. Yes, but that doesn't mean the user of the list necessarily knows or has to know how many el

Re: [perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Elizabeth Mattijsen via RT
> On 4 Jul 2017, at 16:19, Elizabeth Mattijsen wrote: > That said, a List may not always be completely reified already. So > logically, a List may have 100 elements, it could well be that only 42 of > these elements exist already. Which means that the underlying NQP array, > which *is* mutab

Re: [perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Elizabeth Mattijsen
> On 4 Jul 2017, at 16:19, Elizabeth Mattijsen wrote: > That said, a List may not always be completely reified already. So > logically, a List may have 100 elements, it could well be that only 42 of > these elements exist already. Which means that the underlying NQP array, > which *is* mutab

Re: [perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Elizabeth Mattijsen via RT
> On 4 Jul 2017, at 16:05, Aleks-Daniel Jakimenko-Aleksejev via RT > wrote: > On 2017-07-04 05:29:20, comdog wrote: >> Accessing a List element beyond the end of the List returns Nil, >> although accessing an element before the beginning returns an out of >> bounds failure. I think there's two th

Re: [perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Elizabeth Mattijsen
> On 4 Jul 2017, at 16:05, Aleks-Daniel Jakimenko-Aleksejev via RT > wrote: > On 2017-07-04 05:29:20, comdog wrote: >> Accessing a List element beyond the end of the List returns Nil, >> although accessing an element before the beginning returns an out of >> bounds failure. I think there's two th

[perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Hm. Wouldn't that make behavior of Lists and Arrays different? On 2017-07-04 05:29:20, comdog wrote: > Accessing a List element beyond the end of the List returns Nil, > although accessing an element before the beginning returns an out of > bounds failure. I think there's two things that can be be

[perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #131699] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131699 > Accessing a List element beyond the end of the List returns Nil, although accessing an e