Skip to content

Commit ce4fdbf

Browse files
committed
tests for RT #120385
1 parent 83aa430 commit ce4fdbf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

S02-types/whatever.t

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use v6;
22
use Test;
33

4-
plan 80;
4+
plan 83;
55

66
# L<S02/The Whatever Object/"The * character as a standalone term captures the notion of">
77
# L<S02/Native types/"If any native type is explicitly initialized to">
@@ -262,4 +262,12 @@ eval_lives_ok '{*.{}}()', '{*.{}}() lives';
262262
nok $chained(3), 'Chained comparison (3)';
263263
}
264264

265+
# RT #120385
266+
#?rakudo todo 'whatevercode with postcircumfix [] and {}'
267+
{
268+
isa_ok (*.[1]), Code, '*.[1] is some kind of code';
269+
isa_ok (*.<a>), Code, '*.<a> is some kind of code';
270+
isa_ok (*.{1}), Code, '*.{1} is some kind of code';
271+
}
272+
265273
# vim: ft=perl6

0 commit comments

Comments
 (0)