[perl #129093] [BUG] LAST does not trigger in -ne loop in Rakudo

2016-08-26 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #129093] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129093 > Why I don't see last line? $perl6 -ne 'LAST .say' file.txt killbill: because bug, I

[perl #129088] [BUG] Error message provokes panic

2016-08-26 Thread via RT
# New Ticket Created by Parrot Raiser # Please include the string: [perl #129088] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129088 > An error in a sprintf format (program attached) generates a "panic" message: Your prin

[perl #129092] [JVM] Can't get CORE::.keys

2016-08-26 Thread via RT
# New Ticket Created by awwa...@thelackthereof.org # Please include the string: [perl #129092] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129092 > perl6-j -e 'say CORE::.keys' ContextRef representation does not implement e

Re: [perl #129088] [BUG] Error message provokes panic

2016-08-26 Thread Timo Paulssen
This sound much more severe than it is. panic is just a convenience method that throws an exception that contains the cursor's location during parsing. it then just uses nqp::die to throw that message, which is as harmless as any other "die".

Re: [perl #129088] [BUG] Error message provokes panic

2016-08-26 Thread Parrot Raiser
"Panic" brings to mind "kernel panic" - perhaps there's a less alarming way to express it; "failure", "error", or something? (Of course, we're used to "Fatal error - aborting" meaning "something's wrong - the program's stopping".) Presumably " in any at" should have something between "any" and "

[perl #129096] [BUG] sub wrapped with mod_trait: when exported yield cryptic error message, works fine in same unit

2016-08-26 Thread via RT
# New Ticket Created by Eike Frost # Please include the string: [perl #129096] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129096 > Tested on version 2016.07.1, 2016.08.1: When executing test2.pl, the error Cannot invoke

Re: [perl #129096] [BUG] sub wrapped with mod_trait: when exported yield cryptic error message, works fine in same unit

2016-08-26 Thread Lloyd Fournier
This is another outer context lost with compile time closure bug. It's one of the most prolific bugs in rakudo :(. I've added this ticket to the list: https://rt.perl.org/Public/Bug/Display.html?id=125634 https://rt.perl.org/Public/Bug/Display.html?id=126818 https://rt.perl.org/Public/Bug/Display

Re: [perl #129088] [BUG] Error message provokes panic

2016-08-26 Thread Timo Paulssen
we could call the method "parsefail", or maybe just "fail", or "abort". how does that sound?

[perl #129100] [BUG] method rand (Range) fails to check type of $!max

2016-08-26 Thread via RT
# New Ticket Created by Itsuki Toyota # Please include the string: [perl #129100] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129100 > See the following results. $ perl6 -e '("10"..15).rand.say' # min is Str Can only get a

[perl #129104] [BUG] method rand (Range) ignores $!excludes-max flag

2016-08-26 Thread via RT
# New Ticket Created by Itsuki Toyota # Please include the string: [perl #129104] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=129104 > See the following result $ perl6 -e '(1..^(1+10e-15)).rand.say' 1.01 $ per

Re: [perl #129104] [BUG] method rand (Range) ignores $!excludes-max flag

2016-08-26 Thread Elizabeth Mattijsen
Welcome to the world of floating point accuracy. This little program typically ends within 100 iterations for me: $ 6 'my int $a = 0; $a++ while (1..^(1+10e-15)).rand < 1+10e-15; say $a’ 96 Either we dismiss this bug as being caused by lack of floating point accuracy, or we build in something s

Re: [perl #129104] [BUG] method rand (Range) ignores $!excludes-max flag

2016-08-26 Thread Elizabeth Mattijsen via RT
Welcome to the world of floating point accuracy. This little program typically ends within 100 iterations for me: $ 6 'my int $a = 0; $a++ while (1..^(1+10e-15)).rand < 1+10e-15; say $a’ 96 Either we dismiss this bug as being caused by lack of floating point accuracy, or we build in something s