New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recursion and for loops interact badly in Rakudo #284
Comments
From @masakr30589: $ ./perl6 for-loop-recursion.bug Something to do with local pads, perhaps? FWIW, I can trace the bug back to r29884, the first revision that Here's a Perl 5 comparison: $ cat for-loop-recursion.p5 sub f { $ perl for-loop-recursion.p5 |
From @moritzCarl MXXsak (via RT) wrote:
I re-worked that as a test and added it to t/spec/S04-statements/for.t Moritz |
The RT System itself - Status changed from 'new' to 'open' |
From @chromaticOn Wednesday 27 August 2008 07:26:00 Moritz Lenz wrote:
If you or Carl can provide a PIR program which exhibits he problem, I'll fix -- c |
From @masakAttaching stripped-down PIR code -- this may or may not be what you We can run it through Rakudo as follows: $ ./perl6 -e 'use recbug' and it produces as output 2 when it should really be producing 2 |
From @masak |
From @pmichaudOn Wed, Sep 03, 2008 at 11:22:42AM -0700, chromatic wrote:
As of r37064, it's now possible to do this using the --target=pir $ cat for-loop-recursion.bug Currently the perl6.pbc has to be somewhere where load_bytecode can Pm |
From @pmichaudOn Thu, Sep 04, 2008 at 02:25:45PM -0500, Patrick R. Michaud wrote:
Also, it may be worth adding judicious calls to parrot_trace(1) Pm |
From @jnthnHi, Here is a pure PIR example that doesn't depend on Rakudo at all. .sub main :main .sub 'f' print "entering " $I0 = 1 .sub '_block1' :outer('f') Gives the same erroneous output as the Rakudo program. Jonathan |
From @ilyabelikinHi there! This bug still there, in spate of two stable realize of the Parrot. If any one have time and can help with that, please annihilate that pesky bug. Thank you! Ilya 2008/9/12 jnthn@jnthn.net via RT <perl6-bugs-followup@perl.org>:
|
From @moritz�� wrote:
To the best of my knowledge Patrick is working on this one on a branch Cheers, -- |
From @pmichaudNow fixed in r33193: $ cat 58392 Thanks, Pm |
1 similar comment
From @pmichaudNow fixed in r33193: $ cat 58392 Thanks, Pm |
@pmichaud - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#58392 (status was 'resolved')
Searchable as RT58392$
The text was updated successfully, but these errors were encountered: