X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fforeign%2FMethod-Signatures%2Flib%2FMooseLoadTest.pm;fp=t%2Fforeign%2FMethod-Signatures%2Flib%2FMooseLoadTest.pm;h=910eab843baa091e00ef1aec8880f9f02a85d111;hb=700071de3f0252907d4aa24f3bfddc6cc4717860;hp=0000000000000000000000000000000000000000;hpb=f6a45a63e0f39a9c306b49d303575aa574fef102;p=p5sagit%2FFunction-Parameters.git diff --git a/t/foreign/Method-Signatures/lib/MooseLoadTest.pm b/t/foreign/Method-Signatures/lib/MooseLoadTest.pm new file mode 100644 index 0000000..910eab8 --- /dev/null +++ b/t/foreign/Method-Signatures/lib/MooseLoadTest.pm @@ -0,0 +1,12 @@ +# package for t/typeload_moose.t +# (see comments there for why check_paramized_sref is here) + +package Foo::Bar; + +use Moose; +use Function::Parameters qw(:strict); + +method check_int (Int $bar) {}; +method check_paramized_sref (ScalarRef[Num] $bar) {}; + +1;