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
recursive "use" causes infinite loop. #375
Comments
From @chrisdolanThe following simple test involves two .pm files that depend on each === File lib/One.pm === % env PERL6LIB=./lib perl6 test.pl maximum recursion depth exceeded % perl6 -v |
From @chrisdolanrequire.patchIndex: src/builtins/eval.pir
===================================================================
--- src/builtins/eval.pir (revision 32192)
+++ src/builtins/eval.pir (working copy)
@@ -109,14 +109,15 @@
eval_parrot:
.local pmc result
+ inc_hash[name] = realfilename
result = 'evalfile'(realfilename, 'lang'=>'Parrot')
goto done
eval_perl6:
+ inc_hash[name] = realfilename
result = 'evalfile'(realfilename, 'lang'=>'Perl6')
done:
- inc_hash[name] = realfilename
.return (result)
.end
|
From @jnthnOn Sun Oct 26 19:55:51 2008, chris@chrisdolan.net wrote:
Looks good to me; applied in r32327. Thanks! Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#60160 (status was 'resolved')
Searchable as RT60160$
The text was updated successfully, but these errors were encountered: