Subject: | typo of HashRef[Any] in signature leads to odd error message |
If you typo HashRef[Any] as Hashref[Any] you get the error message:
Can't locate object method "parameterize" via package "PPI::Token::Word"
at
/Users/cowens/perl5/lib/perl5/Parse/Method/Signatures/TypeConstraint.pm
line 115.
minimal testcase:
#!/use/bin/perl
use MooseX::Declare;
class Foo {
method BUILD (Hashref[Any] $args) {}
}