From 6c0d1d37fa1c995f44d564f56de33b499295ff5a Mon Sep 17 00:00:00 2001 From: "Will \"Coke\" Coleda" Date: Wed, 26 Jul 2017 22:25:09 -0400 Subject: [PATCH] fix last .WHAT instance #1355 --- doc/Type/Whatever.pod6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/Type/Whatever.pod6 b/doc/Type/Whatever.pod6 index 7df0e1004..f9bad66f8 100644 --- a/doc/Type/Whatever.pod6 +++ b/doc/Type/Whatever.pod6 @@ -52,7 +52,7 @@ The range operators are handled specially. They do not curry with C-stars, but they do curry with C say (1..*).^name; # OUTPUT: «Range␤» - say (1..*-1).WHAT; # OUTPUT: «(WhateverCode)␤» + say ((1..*-1)).^name; # OUTPUT: «WhateverCode␤» This allow all these constructs to work: