[perl #125438] Extra parameters not ACCEPTed when smartmatching sig with invocant

2015-06-18 Thread Brian S. Julin
# New Ticket Created by "Brian S. Julin" # Please include the string: [perl #125438] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125438 > # Should a methodlike Signature ACCEPT extra named parameters? # First, this is at l

[perl #125437] attributive parameters alter object during any bind, not just invoke

2015-06-18 Thread Brian S. Julin
# New Ticket Created by "Brian S. Julin" # Please include the string: [perl #125437] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=125437 > # Attributive parameters can load themselves into objects during # seemingly innocent

Re: [perl #125434] AutoReply: Variable lives outside of loop's scope

2015-06-18 Thread Dagur Valberg Johannsson
Correction: rakudo does not hang, I didn't add a condition to the loop. On Thu 18 Jun 2015 at 22:37 perl6 via RT wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Variable lives outside of loop's scope", >

[perl #111720] [BUG] Subtle action-at-a-distance bond broken after seemingly innocent reading operation on array created with Array.new in Rakudo

2015-06-18 Thread Christian Bartolomaeus via RT
This bug is still present. I added a test (fudged 'todo') to S32-array/pop.t with commit https://github.com/perl6/roast/commit/046ad7e7e4

[perl #109322] [BUG] Lexical weirdness from blocks inside re-entrant subs in Rakudo

2015-06-18 Thread Christian Bartolomaeus via RT
The first example works now as expected: $ perl6-m -e 'sub foo ($a, $f) { if $f { foo("z", 0) }; given $a {say $a; say $_} }; foo("x", 1)' z z x x The second example works on rakudo.jvm but fails on rakudo.moar: $ perl6-j -e 'sub foo ($a, $f) { if $f { foo("z", 0) }; {$_=$a; say $a; say $_} };

[perl #105006] [RFE] Avoiding a strack trace when a clearer message is possible

2015-06-18 Thread Christian Bartolomaeus via RT
Actually, there is a passing test in S19-command-line/arguments.t for this specific example. Also, I think that there is consensus about the aim to provide concise (and otherwise awesome) error messages (and to leave backtraces to --ll-exception). I'm closing this ticket as 'resolved' -- new bu

Re: UDP suport in rakudo

2015-06-18 Thread Kamil Kułaga
I will observe this branch then. I wanted to write an app listening to snmp and I'don't know what will be required yet. Thanks for info :-) On Thu, Jun 18, 2015 at 2:39 PM, Timo Paulssen wrote: > > On 06/18/2015 09:47 AM, Kamil Kułaga wrote: >> Hi, >> >> Is it possible to listen UDP port with per

Announce: Rakudo Perl 6 compiler, Development Release #89 ("Salt Lake")

2015-06-18 Thread Rob Hoelz
On behalf of the Rakudo development team, I'm happy to announce the June 2015 release of Rakudo Perl 6 #89 "Salt Lake". Rakudo is an implementation of Perl 6 on the Moar Virtual Machine[^1] and the Java Virtual Machine. The tarball for this release is available from

Re: UDP suport in rakudo

2015-06-18 Thread Timo Paulssen
On 06/18/2015 09:47 AM, Kamil Kułaga wrote: > Hi, > > Is it possible to listen UDP port with perl6? > > IO::Socket::INET seems to be TCP only At least on MoarVM we don't have UDP support yet. I've started in a little branch called udp_sockets in both MoarVM and NQP, but I didn't get terribly far.

Re: Problem documentation and/or compiler

2015-06-18 Thread Moritz Lenz
Hi Marcel, On 06/18/2015 11:17 AM, mt1957 wrote: Sorry I've been too fast, It's in the doc. However, why can't I assign it to a Buf with automatic coercion from utf8 to Buf which is more generic? The docs are wrong; it should be Blob, not Buf. I've fixed it in https://github.com/perl6/doc/com

Re: Problem documentation and/or compiler

2015-06-18 Thread mt1957
Sorry I've been too fast, It's in the doc. However, why can't I assign it to a Buf with automatic coercion from utf8 to Buf which is more generic? Marcel On 06/18/2015 11:12 AM, mt1957 wrote: L.s. At http://doc.perl6.org/type/Str#method_encode it says that string encoding returns a Buf. It

Problem documentation and/or compiler

2015-06-18 Thread mt1957
L.s. At http://doc.perl6.org/type/Str#method_encode it says that string encoding returns a Buf. It returns a utf8 instead see repl session below. > my Str $s = 'abcdef'; abcdef > my Buf $b = $s.encode; Type check failed in assignment to '$b'; expected 'Buf' but got 'utf8' in block at :1 M

UDP suport in rakudo

2015-06-18 Thread Kamil Kułaga
Hi, Is it possible to listen UDP port with perl6? IO::Socket::INET seems to be TCP only -- Pozdrawiam Kamil Kułaga