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
Null PMC access when calling nextsame in anonymous block in Rakudo #1390
Comments
From @masak<masak> rakudo: ({nextsame})() |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S06-advanced_subroutine_features/wrap.t commit e2e985ab474380caa8150cbc81da9ecdd2b2ab80 [t/spec] Test for RT 70267: {nextsame}() Inline Patchdiff --git a/t/spec/S06-advanced_subroutine_features/wrap.t b/t/spec/S06-advanced_subroutine_features/wrap.t
index 630f119..9ab0ae5 100644
--- a/t/spec/S06-advanced_subroutine_features/wrap.t
+++ b/t/spec/S06-advanced_subroutine_features/wrap.t
@@ -11,7 +11,7 @@ use Test;
# mutating wraps -- those should be "deep", as in not touching coderefs
# but actually mutating how the coderef works.
-plan 60;
+plan *;
my @log;
@@ -166,4 +166,9 @@ is( functionA(), "xz", "First wrapper and final function only, middle removed."
is( functionB, 'xxx', "Wrap is now out of scope, should be back to normal." );
}
+#?rakudo todo 'RT 70267: call to nextsame with nowhere to go'
+dies_ok { {nextsame}() }, '{nextsame}() dies properly';
+
+done_testing;
+
# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Fri Nov 13 21:10:30 2009, KyleHa wrote:
Test is now in t/spec/S06-advanced/wrap.t |
From @moritzIt now says "No dispatcher in scope", which I find surprisingly sane :-) |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#70267 (status was 'resolved')
Searchable as RT70267$
The text was updated successfully, but these errors were encountered: