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 returning from a method called from a hash lookup in Rakudo #1346
Comments
From @masak<masak> ok. here comes today's groaner. |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/integration/return-from-method-in-hash.t commit 456b11e2d2a338ad59b61069680da1350ca32d91 [t/spec/integration] Test for RT #69610 Inline Patchdiff --git a/t/spec/integration/return-from-method-in-hash.t b/t/spec/integration/return-from-method-in-hash.t
new file mode 100644
index 0000000..55e20ce
--- /dev/null
+++ b/t/spec/integration/return-from-method-in-hash.t
@@ -0,0 +1,18 @@
+use v6;
+use Test;
+plan *;
+
+# RT #69610
+
+class RT69610 {
+ method rt69610() {
+ return self;
+ }
+}
+
+ok( { "foo" => &RT69610::rt69610 }.<foo>( RT69610.new ) ~~ RT69610,
+ "Can return from method called from a hash lookup (RT 69610)" );
+
+done_testing;
+
+# vim: ft=perl6 |
The RT System itself - Status changed from 'new' to 'open' |
From @kylehaOn Tue Oct 06 15:26:23 2009, masak wrote:
This now has a test, which passes, so I'm resolving it. |
@kyleha - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#69610 (status was 'resolved')
Searchable as RT69610$
The text was updated successfully, but these errors were encountered: