Open 2colours opened 2 years ago
The behavior is probably driven by syntax. Maybe it should be addressed in the RakuAST branch?
I seem to recall @TimToady saying something about Whatever currying stopping when encountering a semi-colon. So maybe this behaviour is intentional.
The Problem
Subscripts work for basic Whatever-currying - not with semilists, however. Since Whatever can be Positional-indexed but not Associative-indexed, two different but equally undesirable outcomes can be witnessed.
Expected Behavior
Environment
perl6 -v
orraku -v
): Welcome to Rakudo™ v2022.04. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2022.04.