Subject: | Type::Library can't consume MooseX::Types::DBIx::Class |
This code fails with "coercion => 1 requires type to have a direct parent with a coercion" (and I am using Type::Tiny as packaged with ActiveState's ppm on Perl 5.20.1, 64-bit Windows)
package MyApp::Types;
use strict;
use warnings;
use namespace::autoclean;
use Type::Library -base;
use Type::Utils 'extends';
BEGIN {
extends 'MooseX::Types::DBIx::Class';
}
1;
__END__
perl -c lib/MyApp/Types.pm
coercion => 1 requires type to have a direct parent with a coercion at lib\MyApp\Types.pm line 10.
BEGIN failed--compilation aborted at lib\BPM\Engine\Types.pm line 12.
I'll try upgrading to the latest on CPAN and report back.