Skip Menu |
Report information
Id: 121531
Status: resolved
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: moritz <moritz.lenz+perl [at] gmail.com>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: Moar



From: Moritz Lenz <moritz [...] faui2k3.org>
To: rakudobug [...] perl.org
Date: Fri, 28 Mar 2014 21:06:37 +0100
Subject: [MoarVM] failing PRE block should abort execution of all other phasers, doesn't in rakudo-m
Download (untitled) / with headers
text/plain 413b
This test from S04-phasers/pre-post.t fails on rakudo-moar, but passes on the two other backends: my $str; try { { PRE { $str ~= '('; 0 } PRE { $str ~= '*'; 1 } ENTER { $str ~= '[' } $str ~= 'x'; LEAVE { $str ~= ']' } POST { $str ~= ')'; 1 } } } is $str, '(', 'failing PRE runs nothing else';
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 509b
On Fri Mar 28 13:06:48 2014, moritz wrote: Show quoted text
> This test from S04-phasers/pre-post.t fails on rakudo-moar, but passes > on the two other backends: > > my $str; > try { > { > PRE { $str ~= '('; 0 } > PRE { $str ~= '*'; 1 } > ENTER { $str ~= '[' } > $str ~= 'x'; > LEAVE { $str ~= ']' } > POST { $str ~= ')'; 1 } > } > } > is $str, '(', 'failing PRE runs nothing else';
Fixed, test unfudged.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org