But doesnt Whatever smartmatch anything? Isn't that sort of its raison d'etre?
On 1/15/09, Carl Mäsak <cma...@gmail.com> wrote: > Ovid (>): >> I tried to implement "plan *" for 'no_plan' and this is the minimal test >> case: >> >> perl6 $ perl6 -e 'my $plan = *; say $plan.isa(Whatever)' >> Method 'isa' not found for invocant of class 'Whatever' >> [...] > > 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: > > <masak> rakudo: say * ~~ Whatever > <p6eval> rakudo 35577: OUTPUT«1» > -- Sent from Gmail for mobile | mobile.google.com Mark J. Reed <markjr...@gmail.com>