use
strict;
use
warnings;
use
Test::More;
use
Function::Return;
package
Foo {
fun hello() :Return() { }
}
use
Sample;
my
$code
= Sample->can(
'invalid'
);
my
$info
= Function::Parameters::info(
$code
);
is
$info
,
undef
;
done_testing;
use
strict;
use
warnings;
use
Test::More;
use
Function::Return;
package
Foo {
fun hello() :Return() { }
}
use
Sample;
my
$code
= Sample->can(
'invalid'
);
my
$info
= Function::Parameters::info(
$code
);
is
$info
,
undef
;
done_testing;