Created
June 20, 2014 12:42
-
-
Save hoelzro/2a6de4f56618754c6de2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Test; | |
plan 1; | |
my class Foo { | |
multi method test(Str $) { | |
} | |
multi method test(Str $) { | |
} | |
} | |
my $test = Foo.^method_table<test>; | |
ok $test.multi, 'Making sure a multi method says it is one'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment