no_leaks_ok {
$foo->add_symbol('&code_init' => sub { "foo" });
} "add_symbol code doesn't leak";
- { local $TODO = $Package::Stash::IMPLEMENTATION eq 'PP'
- ? "the pure perl implementation leaks here somehow"
- : undef;
+ { local $TODO = "the pure perl implementation leaks here somehow";
no_leaks_ok {
$foo->add_symbol('io_init' => Symbol::geniosym);
} "add_symbol io doesn't leak";
no_leaks_ok {
$foo->add_symbol('&code_init' => sub { "foo" });
} "add_symbol code doesn't leak";
- { local $TODO = $Package::Stash::IMPLEMENTATION eq 'PP'
- ? "the pure perl implementation leaks here somehow"
- : undef;
+ { local $TODO = "this leaks here somehow";
no_leaks_ok {
$foo->add_symbol('io_init' => Symbol::geniosym);
} "add_symbol io doesn't leak";