Skip to content

Commit 6c0d1d3

Browse files
committed
fix last .WHAT instance #1355
1 parent 138208c commit 6c0d1d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/Type/Whatever.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The range operators are handled specially. They do not curry with
5252
C<Whatever>-stars, but they do curry with C<WhateverCode>
5353
5454
say (1..*).^name; # OUTPUT: «Range␤»
55-
say (1..*-1).WHAT; # OUTPUT: «(WhateverCode)␤»
55+
say ((1..*-1)).^name; # OUTPUT: «WhateverCode␤»
5656
5757
This allow all these constructs to work:
5858

0 commit comments

Comments
 (0)