[perl #126823] Failing test in S32-array/adverbs.t and S32-hash/adverbs.t: Code does not die as expected with 'use Test'

2015-12-10 Thread Christian Bartolomaeus via RT
Another data point: The evaluation works as expected with MVM_SPESH_DISABLE=1: $ echo '#' > Bar.pm6 $ MVM_SPESH_DISABLE=1 ./perl6-m -I. -e 'use Bar; my %h = b => 2; say %h:zorp' Unexpected named parameter 'zorp' passed in block at -e:1 $ MVM_SPESH_DISABLE=1 ./perl6-m -I. -e 'use Bar; my %h = b

Re: Gather/take & return, PHP7-style

2015-12-10 Thread Aristotle Pagaltzis
* yary [2015-12-09 19:40]: > Being able to explicitly return a final value from a generator is > a handy ability to have. This is because it enables for a final value > to be returned by a generator (from perhaps some form of coroutine > computation) that can be specifically handled by the client

Re: Gather/take & return, PHP7-style

2015-12-10 Thread Moritz Lenz
On 12/09/2015 07:35 PM, yary wrote: This feature builds upon the generator functionality introduced into PHP 5.5. It enables for a return statement to be used within a generator to enable for a final expression to be returned (return by reference is not allowed). This value can be fetched using t

Re: Gather/take & return, PHP7-style

2015-12-10 Thread yary
>So this is meant as some sort of "EOF" (or rather EOL) marker, right? > >Perl 6 does not do this, because there's already an EOF mechanism, and > you can use LAST phasers to execute after the final iteration, but still > inside the scope of the loop that works with the list. I admit, I do like th

[perl #118791] [BUG] Rxx doesn't thunk its rhs in Rakudo

2015-12-10 Thread Larry Wall via RT
Fixed, along with all the other metaops, in: 1e1556b1a25bc4c73a505fdd249d4179ffc813de 0a2303c0f6a2a3782fecb13db1523cb5442467de 67202d697d3fe48b800e95262bebe6da17bfcf49 e2e23fb8853808839884f23a0b8aa91f458fd310 97ef742f350e84dae275ed2dc9d453795f057dba 6516930c86d6ff4296ee8699a64eb1315eed2583 Tests:

[perl #81336] [BUG] infix:<~~> isn't chaining in Rakudo

2015-12-10 Thread Larry Wall via RT
~~ is now chaining where it can be; it obviously makes little sense to chain something on both sides that is not a normal data value. So if you include a regex or a closure, it must be the final test. Also, in order to get $a ~~ $b ~~ $c to work, we cannot topicalize $b. Fix in f457007181bb6e2

[perl #126873] Cannot find method 'compile_time_value' for big Rat

2015-12-10 Thread via RT
# New Ticket Created by Juerd Waalboer # Please include the string: [perl #126873] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126873 > 17:52 < Juerd> m: say <1480211362058/1021> 17:52 <+camelia> rakudo-moar 7df997: OUTPUTĀ«

[perl #126876] [BUG] t\spec\S32-io\io-spec-win.t fails on Windows 10 with MSVS 2013

2015-12-10 Thread via RT
# New Ticket Created by A. Sinan Unur # Please include the string: [perl #126876] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=126876 > Hello: Just built using http://rakudo.org/downloads/star/rakudo-star-2015.11.tar.gz. D