Skip to content

Commit 762eb26

Browse files
author
Tadeusz Sośnierz
committed
Test for RT #99854
1 parent 28d220d commit 762eb26

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

S02-types/hash.t

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,13 @@ lives_ok { Hash.new("a" => "b") }, 'Hash.new($pair) lives';
272272
# RT #75694
273273
eval_lives_ok('my $rt75694 = { has-b => 42 }', "can have a bareword key starting with 'has-' in a hash");
274274

275+
# RT #99854
276+
#?rakudo todo 'RT 99854'
277+
{
278+
eval_lives_ok 'my $rt = { grammar => 5 }',
279+
"can have a bareword 'grammar' as a hash key";
280+
}
281+
275282
done;
276283

277284
# vim: ft=perl6

0 commit comments

Comments
 (0)