Skip to content

Commit 11ec63a

Browse files
committed
Add test for RT #119473
1 parent cab366f commit 11ec63a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

S13-overloading/operators.t

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

4-
plan 4;
4+
plan 5;
55

66
#L<S06/Operator overloading>
77

@@ -18,6 +18,8 @@ plan 4;
1818
else { ($arg-1)! * $arg;}
1919
};
2020
is 5!, 120, 'Can define recursive postfix operator';
21+
# RT #119473
22+
is 5.!, 120, 'Can use newly defined postfix operator with leading dot';
2123
}
2224

2325
{

0 commit comments

Comments
 (0)