Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

return inside regex inside gather gets ignored #153

masak opened this Issue Oct 16, 2012 · 0 comments


None yet
1 participant

masak commented Oct 16, 2012

<TimToady> nr: sub foo { [+] gather '' ~~ / ^ { take 1..4; return 0 } / }; say foo
<p6eval> niecza v22-13-g0d2a99e: OUTPUT«10␤»
<p6eval> ..rakudo c2005e: OUTPUT«0␤»
<TimToady> I think this is a nieczabug
<TimToady> added a validating version to http://rosettacode.org/wiki/Roman_numerals/Decode#Perl_6, but it runs into the nieczabug above
<masak> TimToady: agree on the Nieczabug. I'll submit it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment