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
{ ; } shouldn't be a hash #1884
Comments
From @zhuomingliang{ ; } shouldn't be a hash, it should be a block
å�¨æ¤ç¥�ä½ èº«ä½�å�¥åº·ï¼�天天快ä¹�
|
From @pmichaudNow fixed in current rakudo; spectests already exist, so closing ticket. Pm |
@pmichaud - Status changed from 'new' to 'resolved' |
From @kylehaThis is an automatically generated mail to inform you that tests are now available in t/spec/S06-other/anon-hashes-vs-blocks.t commit 2b061254b408b68e101c33c41d84c9b10a40d309 [t/spec] test for RT #76198, {;} should be a Block Inline Patchdiff --git a/t/spec/S06-other/anon-hashes-vs-blocks.t b/t/spec/S06-other/anon-hashes-vs-blocks.t
index 670f67c..adb76eb 100644
--- a/t/spec/S06-other/anon-hashes-vs-blocks.t
+++ b/t/spec/S06-other/anon-hashes-vs-blocks.t
@@ -45,6 +45,7 @@ ok $bar ~~ Hash, '%foo in a block causes hash composing';
ok { $^a => 'b' } ~~ Block, '... as a key';
ok { a => $^x } ~~ Block, '... as a value';
ok { b => 3, a => $^x, 4 => 5 } ~~ Block, '... somewhere deep inside';
+ ok {;} ~~ Block, '{;} is a Block';
}
done_testing; |
Migrated from rt.perl.org#76198 (status was 'resolved')
Searchable as RT76198$
The text was updated successfully, but these errors were encountered: