Re: [perl #130492] subtest fails on windows

2017-01-03 Thread Marcel Timmerman
Sorry for the false alarm. I need to find out how to get the latest version on appveyor. It was fixed on a very early date, 2016.4 if I recall it correctly, Anyways, thanks Marcel On January 3, 2017 2:50:31 PM "Zoffix Znet via RT" wrote: On Tue, 03 Jan 2017 00:28:25 -0800, mt1...@gmail.c

Re: [perl #130460] Can we relax indir's test on the target directory?

2017-01-03 Thread Joachim Durchholz
Am 03.01.2017 um 09:59 schrieb Elizabeth Mattijsen: On 3 Jan 2017, at 06:58, Joachim Durchholz wrote: Yes, chdir is nasty because it's a global setting and you never know which of the functions you're calling might be changing the setting. indir solves all these things. (Provided it changes th

[perl #128123] [JVM] in some cases wrong multi candidates are selected

2017-01-03 Thread Christian Bartolomaeus via RT
On Tue, 13 Sep 2016 12:42:03 -0700, barto...@gmx.de wrote: > All code examples from above are running fine now. > > Instead there are four skipped tests in S32-array/adverbs.t which die > because the wrong multi postcircumfix:<[ ]> is selected. > > I'll change the subject of this ticket and leave

[perl #128264] [JVM] Failing test for calling .Num on Rat with denominator of zero

2017-01-03 Thread Christian Bartolomaeus via RT
Those tests are passing (again). I'm closing this ticket as 'resolved'.

[perl #130494] [BUG] Using Proc::Async with tap leads to memory leak

2017-01-03 Thread Zoffix Znet via RT
On Tue, 03 Jan 2017 10:33:31 -0800, ronaldxs wrote: > Links: > -- > [1] https://github.com/perl6/doc/issues/1104 > [2] > https://github.com/perl6/Pod-To-HTML/blob/master/lib/Pod/To/HTML.pm#L300 Confirmed on Rakudo version 2016.12-52-g9eed276 built on MoarVM version 2016.12-6-g65acd55 on runn

[perl #130208] Multi-line comments before role causes punning

2017-01-03 Thread jn...@jnthn.net via RT
On Mon, 28 Nov 2016 15:20:12 -0800, m...@orbislumen.net wrote: > Multi-line comments in the form of #|{ } cause punning when before role > definition. > > However, #`{ } does not. > > https://gist.github.com/adaptiveoptics/6c58095c5dd99d725487989c282f9214 > The former is a Pod documentation at

[perl #125135] Using callsame from add_method in Metamodel subclass as the last statement in add_method only works half of the time

2017-01-03 Thread jn...@jnthn.net via RT
On Tue, 03 Jan 2017 10:11:23 -0800, jn...@jnthn.net wrote: > On Thu, 07 May 2015 20:30:53 -0700, r...@hoelz.ro wrote: > > When invoking callsame in add_method when making a custom metaclass, > > callsame fails to invoke the next candidate on even-numbered > > invocations. Adding an explicit return

[perl #130494] [BUG] Using Proc::Async with tap leads to memory leak

2017-01-03 Thread via RT
# New Ticket Created by Ron Schmidt # Please include the string: [perl #130494] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130494 > The example below is believed to be a simplification of memory leak Issue #1104 [1] for th

[perl #125135] Using callsame from add_method in Metamodel subclass as the last statement in add_method only works half of the time

2017-01-03 Thread jn...@jnthn.net via RT
On Thu, 07 May 2015 20:30:53 -0700, r...@hoelz.ro wrote: > When invoking callsame in add_method when making a custom metaclass, > callsame fails to invoke the next candidate on even-numbered > invocations. Adding an explicit return in front of callsame, or a > statement after it (ex. say 'hi') fix

[perl #123989] [BUG] endless loop when calling nextsame in two multis differing only by constraints

2017-01-03 Thread jn...@jnthn.net via RT
On Thu, 05 Mar 2015 02:12:21 -0800, n...@detonation.org wrote: > multi foo(Int $foo where * > 0) { > say ">0"; > nextsame; > } > multi foo(Int $foo where * < 10) { > say "<10"; > nextsame; > } > multi foo($foo) { > say "generic"; > } > foo(1); > > > prints: > >0 > <10 > <10 >

[perl #130493] .sink of class not getting called, but Mu.sink is

2017-01-03 Thread jn...@jnthn.net via RT
On Tue, 03 Jan 2017 04:54:52 -0800, elizabeth wrote: > $ 6 'class A { method sink() { say "goodbye" } }; A’ > WARNINGS for -e: > Useless use of constant value A in sink context (line 1) > > I would expected this to say “goodbye” rather than being silent and > issuing a warning. The fact that a cl

Re: [perl #130460] Can we relax indir's test on the target directory?

2017-01-03 Thread Brandon Allbery
On Tue, Jan 3, 2017 at 12:58 AM, Joachim Durchholz wrote: > > indir solves all these things. (Provided it changes the current directory > back even in the face of exceptions.) Edge case: current directory can't be re-entered by path (as with the old MMDF trick: daemon launcher running as root ch

[perl #130492] subtest fails on windows

2017-01-03 Thread Zoffix Znet via RT
On Tue, 03 Jan 2017 00:28:25 -0800, mt1...@gmail.com wrote: > running tests on the Appveyor system I noticed the following; > > > prove -v --merge --exec "perl6 -Ilib" t > t\100-th.t .. > Type check failed in binding &subtests; expected Callable but got Str > ("instantiate") > in sub subtest

[perl #130493] .sink of class not getting called, but Mu.sink is

2017-01-03 Thread via RT
# New Ticket Created by Elizabeth Mattijsen # Please include the string: [perl #130493] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130493 > $ 6 'class A { method sink() { say "goodbye" } }; A’ WARNINGS for -e: Useless use

Re: Array containing only elements that implement a role.

2017-01-03 Thread Siavash
Hi, It's because of the default value of array elements. See the end of this section: https://docs.perl6.org/language/list#Typing my @a; say @a.of.perl; # Mu say @a.default.perl; # Any say @a[0]; # (Any) role Foo {}; my Foo @a; say @a.of.perl; # Foo say @a.default.perl; # Foo say @a[0] # (Foo)

Array containing only elements that implement a role.

2017-01-03 Thread Martin Barth
Hi There, I am not sure if my RoleType @array; is correct, or if there is a better way to declare such an array. But I find the error that is happening when there are no elements in the array confusing on the first sight. It took me a while to realize that my array was empty and therefore it

Re: [perl #130460] Can we relax indir's test on the target directory?

2017-01-03 Thread Elizabeth Mattijsen
> On 3 Jan 2017, at 06:58, Joachim Durchholz wrote: > Yes, chdir is nasty because it's a global setting and you never know which of > the functions you're calling might be changing the setting. > > indir solves all these things. (Provided it changes the current directory > back even in the face

[perl #130492] subtest fails on windows

2017-01-03 Thread via RT
# New Ticket Created by mt1957 # Please include the string: [perl #130492] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130492 > running tests on the Appveyor system I noticed the following; prove -v --merge --exec "perl6