Mark (>), Carl (>>): >> This has nothing to do with the bug, but you'd probably not want to >> test for *-ness with .isa; use smartmatch (~~) instead. >> >> On the bright side, this already works in Rakudo: > > But doesnt Whatever smartmatch anything? Isn't that sort of its raison d'etre?
Short answer: you're confusing LHS and RHS of smartmatch. Long answer: $ perl6 -e 'say 1 ~~ Whatever' 0 $ perl6 -e 'say * ~~ Whatever' 1 // Carl