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 evaluating interpolating string with empty block in Rakudo #1891
Comments
From @masak<cognominal> rakudo: "{}" # :) |
From @jnthnOn Mon Jun 28 03:49:40 2010, masak wrote:
Works now: 15:07 <@jnthn> rakudo: say "a {} b" Giving to moritz++ for spectests. Thanks, Jonathan |
The RT System itself - Status changed from 'new' to 'open' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S02-literals/string-interpolation.t commit 34d975a16ed97d91998ebac76d096293c6cdbfe7 [t/spec] test for RT #76234, interpolating empty block into a string Inline Patchdiff --git a/t/spec/S02-literals/string-interpolation.t b/t/spec/S02-literals/string-interpolation.t
index 2b3a085..5c672fd 100644
--- a/t/spec/S02-literals/string-interpolation.t
+++ b/t/spec/S02-literals/string-interpolation.t
@@ -24,6 +24,9 @@ plan *;
my $a = 3;
ok "$a" ~~ Str, '"$a" results in a Str';
ok "{3}" ~~ Str, '"{3}" results in a Str';
+
+ # RT #76234
+ is "{}", '', 'Interpolating an empty block is cool';
}
my $rt65538_in = qq[line { (1,2,3).min } |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#76234 (status was 'resolved')
Searchable as RT76234$
The text was updated successfully, but these errors were encountered: