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
B::Deparse hangs on cyclic constants #15951
Comments
From @maukeCreated by @maukeThis code hangs forever: $ perl -MO=Deparse -e 'use constant FOO => do { my @x; $x[0] = \@x }; $_ = FOO' Workaround: $ perl -MO=Deparse,-d -e 'use constant FOO => do { my @x; $x[0] = \@x }; $_ = FOO' B::Deparse dumps constants using its own function, which doesn't handle Either B::Deparse needs to become smarter about cycles or -d should be on by (This issue also affects Type::Tiny (which creates self-referential objects) in Perl Info
|
Migrated from rt.perl.org#131148 (status was 'new')
Searchable as RT131148$
The text was updated successfully, but these errors were encountered: