Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix .perl.EVAL roundtripping for circular Arrays and Hashes
Currently generated my \foo = [\foo] thing doesn't have the correct value when EVALed (foo is still a Mu when its value is used). Fix for Array and Hashes by using (my @foo) = … and (my %foo) = … thing instead. Everything else will still get the \foo thing. This can probably fixed for the rest of circular stuff like Pairs and classes with (my $foo) = … but I don't know if the containerization has some sort of impact that would produce the wrong results.
- Loading branch information