[ Bug Fixes ]
- B::SPECIAL-related fix.
Fixes RT#86383.
Peter Flanigan++
https://rt.cpan.org/Public/Bug/Display.html?id=86383
- Unions of Type::Tiny and Mouse::Meta::TypeConstraints now work properly.
This makes Type::Tiny and MouseX::Types play nice together (much like
Type::Tiny already plays nice with MooseX::Types).
[ Other ]
- Cleanups within Type::Coercion. Necessary because in some places the
entire type_coercion_map (including conversion coderefs) was passed
through Types::Standard::to_TypeTiny, when really only the type
constraints should have been.
- Types::Standard::to_TypeTiny now accepts any object implementing the
Type::API::Constraint or Type::API::Constraint::Coercion interfaces. As
Mouse::Meta::TypeConstraint implements this interface, specific support
for importing Mouse types has been dropped; the generic Type::API import
'just works' for Mouse types.
- Types::Standard::to_TypeTiny now accepts unblessed coderefs and converts
them to type constraints. This allows things likeInt & sub { $_ < 10 }
to work.