[perl #130827] [BUG] %hash«$key»:exists is true allways

2017-02-22 Thread via RT
# New Ticket Created by Jarkko Haapalainen # Please include the string: [perl #130827] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130827 > EXAMPLE: my %hash = foo => 1; if %hash:exists { say "not gonna print this"; } my

[perl #130845] Some things that are less than 5 aren't

2017-02-22 Thread brian d foy
# New Ticket Created by "brian d foy" # Please include the string: [perl #130845] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130845 > Here's a curious change over in precision: > 4.999 ~~ 0..^5 True

[perl #130843] [MOAR][IO] .seek(... SeekFromCurrent) seeks to incorrect place if called after .readchars

2017-02-22 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130843] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130843 > If .seek(... SeekFromCurrent) is called after a call to .readchars, the position sought

[perl #130840] [JVM] IO::Handle.readchars incorrectly assumes all chars are 2 bytes long

2017-02-22 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130840] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130840 > Based on the code, seems it's a naive kludge for the unimplemented nqp::readcharsfh op.

Re: [perl #130834] Is `use v5` still a thing?

2017-02-22 Thread Brandon Allbery
It should do *something*; I suspect the intent was to offload that something, since there was at one point the idea of exec()ing a perl 5. At the very least it should throw --- but that might be handled sufficiently by the default. On Wed, Feb 22, 2017 at 8:45 AM, Zoffix Znet

[perl #129227] [SEGV][UNI] Concatenation of a large number of combining characters

2017-02-22 Thread jn...@jnthn.net via RT
On Thu, 08 Sep 2016 03:44:55 -0700, c...@zoffix.com wrote: > > m: 7 ~ "\x[308]" x 100_000 > rakudo-moar 7925d6: OUTPUT«WARNINGS for :␤Useless use > of "~" in expression "7 ~ \"\\x[308]\" x" in sink context (line 1)␤» > m: 7 ~ "\x[308]" x 150_000 > rakudo-moar 7925d6: OUTPUT«(signal SEGV)»

[perl #130834] Is `use v5` still a thing?

2017-02-22 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #130834] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130834 > I notice the first thing[^1] our `use` pragma looks for when it gets a version is `v5`

[perl #130812] [LTA] error message when trying to use ? on ~ in a regex (/ ‘[’ ~? ‘]’ . /)

2017-02-22 Thread jn...@jnthn.net via RT
On Sat, 18 Feb 2017 14:22:50 -0800, alex.jakime...@gmail.com wrote: > Code: > ‘[a]’ ~~ / ‘[’ ~? ‘]’ . / > > Result: > ===SORRY!=== > Cannot find method 'rxtype' on object of type NQPMu > > > It should at least print the line number. Fixed to show the correct error: $ ./perl6-m -e '‘[a]’ ~~ /

Re: [perl #126014] [SEGV] Too many repetitions with xx operator cause a segfault ("x" xx 9999999999)

2017-02-22 Thread Elizabeth Mattijsen
> On 22 Feb 2017, at 12:41, jn...@jnthn.net via RT > wrote: > On Sat, 30 Apr 2016 03:42:00 -0700, alex.jakime...@gmail.com wrote: >> OK, I said that it only segfaults on 32-bit systems, but I was wrong. >> >> Code: >> 42 xx (2 ** 62) >> >> Result: >> Segmentation

[perl #126014] [SEGV] Too many repetitions with xx operator cause a segfault ("x" xx 9999999999)

2017-02-22 Thread jn...@jnthn.net via RT
On Sat, 30 Apr 2016 03:42:00 -0700, alex.jakime...@gmail.com wrote: > OK, I said that it only segfaults on 32-bit systems, but I was wrong. > > Code: > 42 xx (2 ** 62) > > Result: > Segmentation fault > This is patched in MoarVM HEAD just now and no longer SEGVs (reports the array is too long

Perl6 JVM builds OK fails to run

2017-02-22 Thread Simon Proctor
Built the JVM Perl6 using rakudobrew and the 2017.02 branch. It builds OK but gives : java.nio.file.NoSuchFileException: blib/Perl6/BOOTSTRAP.jar in (gen/jvm/ModuleLoader.nqp:88) (And a bunch more stack trace) Any idea how I can fix it? Simon

[perl #130825] `CHECK/INIT return` inside a sub causes incorrect (?) error and segv respectively

2017-02-22 Thread jn...@jnthn.net via RT
On Mon, 20 Feb 2017 16:28:54 -0800, c...@zoffix.com wrote: > 00:27 IOninja m: sub {CHECK return; class :: { 5000; 42 } }() > 00:27 camelia rakudo-moar 80e0bc: OUTPUT: «===SORRY!===␤Attempt to > return outside of any Routine␤» This one has been corrected to report that the problem was in a