use Scalar::Util 'blessed';
use Moose::Util::TypeConstraints;
+use Moose::Meta::TypeConstraint::Parameterizable;
-our $VERSION = '0.59';
+our $VERSION = '0.66';
$VERSION = eval $VERSION;
our $AUTHORITY = 'cpan:STEVAN';
sub create_child_type {
my ($self, %opts) = @_;
- return Moose::Meta::TypeConstraint->new(%opts, parent => $self);
+ return Moose::Meta::TypeConstraint::Parameterizable->new(%opts, parent=>$self);
}
1;
=head1 COPYRIGHT AND LICENSE
-Copyright 2006-2008 by Infinity Interactive, Inc.
+Copyright 2006-2009 by Infinity Interactive, Inc.
L<http://www.iinteractive.com>