Skip to content

Commit 4e6f32c

Browse files
committed
Don't use WHAT
It's mentioned elsewhere in this file, but doesn't add anything in particular to this example which already has .^name
1 parent ddd8efa commit 4e6f32c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

doc/Language/classtut.pod6

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,6 @@ we can ask it a few questions:
695695
=begin code :skip-test
696696
if $o ~~ Employee { say "It's an employee" };
697697
if $o ~~ GeekCook { say "It's a geeky cook" };
698-
say $o.WHAT;
699698
say $o.perl;
700699
say $o.^methods(:local)».name.join(', ');
701700
say $o.^name;

0 commit comments

Comments
 (0)