'PositiveInt' could not be parsed to a type constraint - maybe you need to pre-declare the type with class_type at /home/moose/perl5/lib/perl5/MooseX/Declare/Syntax/MethodDeclaration.pm line 40