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