[perl #132088] [REGRESSION][NATIVECALL] code broken by latest build

2017-09-14 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Bisected to https://github.com/rakudo/rakudo/commit/cd7dc4ce934003b9da1e540e638ee6dbe1f44b1b Committable output https://gist.github.com/Whateverable/ee36fb271f2700f1684e1290a966e709 On 2017-09-14 08:16:43, ash.gabr...@gmail.com wrote: > Hello, > > I've written a module with release 2017-07. > > s

[perl #132088] code broken by latest build

2017-09-14 Thread via RT
# New Ticket Created by Gabriel Ash # Please include the string: [perl #132088] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132088 > Hello, I've written a module with release 2017-07. source here: https://github.com/gabr

[perl #126477] [GLR] .assuming on sub with is copy parameter fails

2017-09-14 Thread Brian S. Julin via RT
On Thu, 11 Aug 2016 09:24:31 -0700, coke wrote: > On Wed Oct 28 13:40:45 2015, gfldex wrote: > > sub foo(@a is copy, :$flag){ say @a }; > > my @a = 1,2; > > (&foo.assuming(:flag))(@a); > > > > # OUTPUT«replace this Array is copy logic␤ in sub __PRIMED_ANON at > > EVAL_2:2␤ in sub __PRIMED_ANON

Re: what am I doing wrong here?

2017-09-14 Thread Todd Chester
On 09/14/2017 09:10 AM, Timo Paulssen wrote: You're reaching deep into rakudo's internals here, reaching an object that doesn't know about pretty much any methods you might want to have, and there's also no support for them in things like the ~~ operator, for example. You're getting the error

[perl #131502] [BUG] Incorrect useless use warning when WhateverCode is passed as arg to Callable

2017-09-14 Thread Brian S. Julin via RT
On Sat, 03 Jun 2017 12:08:50 -0700, c...@zoffix.com wrote: > Oops. Long day. I meant WhateverCode is passed, not Junction. Fudged tests preemptively added to S02-types/whatever.t in roast commit 4b2fef409.

[perl #126984] [BUG] WhateverCode in given doesn't get refreshed when entering surrounding block in Rakudo

2017-09-14 Thread Brian S. Julin via RT
On Mon, 21 Dec 2015 13:33:51 -0800, masak wrote: > m: sub foo($x) { say (* == $x)($_) given $x }; foo(1); foo(2) > rakudo-moar cfb1f3: OUTPUT«True␤False␤» > * masak submits rakudobug > > Examining the expression printed, it basically says "$x should be > numerically equal to itself" in a circuit

[perl #131409] whatever auto closure fails with smartmatch with regex

2017-09-14 Thread Brian S. Julin via RT
On Wed, 31 May 2017 03:47:19 -0700, c...@zoffix.com wrote: > On Wed, 31 May 2017 03:31:49 -0700, zengargo...@gmail.com wrote: > > When using smartmatch against a regex, auto-whatever closure generation > > does not work whereas manual pointy closure does work. > > > > A '{ * eq $match}' behaves di

[perl #131846] [BUG] [REGRESSION] not accepting Inf/Whatever as upper bound

2017-09-14 Thread Brian S. Julin via RT
On Sun, 06 Aug 2017 11:24:13 -0700, elizabeth wrote: > Added to my todo list > > > On 6 Aug 2017, at 17:13, Joshua (via RT) > follo...@perl.org> wrote: > > > > # New Ticket Created by Joshua > > # Please include the string: [perl #131846] > > # in the subject line of all future correspondence a

[perl #130773] [PARSER] Bogus "Useless use" warning for WhateverCode in EVAL

2017-09-14 Thread Brian S. Julin via RT
On Sat, 26 Aug 2017 05:20:14 -0700, sml...@gmail.com wrote: > This bug is still present in > > Rakudo version 2017.08-8-g753c9a5ea built on MoarVM version 2017.08.1- > 19-g151a2563 > implementing Perl 6.c. Fudged tests preemptively added to S02-types/whatever.t in roast commit 4b2fef409.

[perl #126540] [BUG] &prefix: is misparsed when smartmatching inside WhateverCode

2017-09-14 Thread Brian S. Julin via RT
On Mon, 02 Nov 2015 09:43:13 -0800, andr...@gmail.com wrote: > $ perl6 -v > This is perl6 version 2015.10-124-g63f6fc9 built on MoarVM version > 2015.10-14-g5ff3001 > > $ perl6 -e 'say (* !~~ Int)(1)' > ===SORRY!=== Error while compiling -e > Variable '&infix:' is not declared > at -e:1 > -->

[perl #132093] Enum.succ and Enum.pred are O(n)

2017-09-14 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Actually, another direct implication of using .first is this: Code: enum Animal (Cat => 0, Dog => 0, Human => 42); say Dog.succ Result: Dog So it's not just the algorithmic complexity, and we need a test for that. On 2017-09-14 17:47:59, alex.jakime...@gmail.com wrote: > Source code: > https:/

[perl #132093] Enum.succ and Enum.pred are O(n)

2017-09-14 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #132093] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132093 > Source code: https://github.com/rakudo/rakudo/blob/nom/src/core/Enum

[perl #129856] namespace clashes

2017-09-14 Thread Brian S. Julin via RT
On Wed, 12 Oct 2016 07:07:19 -0700, mt1...@gmail.com wrote: > Hi, > > I wanted to define a class in the 'Pod' package like so (in file > lib/Pod/Render.pm6) > > > use Pod::To::HTML; > unit package Pod; > class Render { ># ... > } > > > Then use it > > use Pod::Render; > my Pod::Render $p

[perl #126426] Post-defined stubbed class not found if its name starts with an existing namespace

2017-09-14 Thread Brian S. Julin via RT
On Wed, 21 Oct 2015 22:08:47 -0700, sml...@gmail.com wrote: > This compiles and runs fine: > > class A::B { ... }; > > say A::B.new; > > class A::B { > has $.a = 42 > }; > > But this fails to compile: > > class X::B { ... }; > > say X::B.new; > > class X::B { > has $.a = 42 > }; > >

[perl #132091] await handles Slip differently between v6.c and v6.d.PREVIEW

2017-09-14 Thread via RT
# New Ticket Created by Timo Paulssen # Please include the string: [perl #132091] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132091 > I'm using two start blocks that return Slips to generate a long list in parallel, then i

[perl #132090] NQPMu leaking out when calling nativesize on int and num type

2017-09-14 Thread via RT
# New Ticket Created by Sylvain Colinet # Please include the string: [perl #132090] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132090 > m: say num.^nativesize rakudo-moar c4043b: OUTPUT: «No such method 'gist' for invoca

[perl #132089] Strange error: "Found named parameter '(unnamed)' twice in signature"

2017-09-14 Thread via RT
# New Ticket Created by Zoffix Znet # Please include the string: [perl #132089] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132089 > This code throws this error, even though I don't seem to be using two unnamed named param

Re: what am I doing wrong here?

2017-09-14 Thread Timo Paulssen
You're reaching deep into rakudo's internals here, reaching an object that doesn't know about pretty much any methods you might want to have, and there's also no support for them in things like the ~~ operator, for example. You're getting the error because you're calling ~~ with the NQPRoutine obj

[perl #132086] [BUG] will leave {} variable trait does not compile inside modules

2017-09-14 Thread via RT
# New Ticket Created by Vittore Scolari # Please include the string: [perl #132086] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=132086 > The following code works: $ perl6 -e 'sub subr() { say "a"; my $c will leave { .say }