cpan Type-Tiny 1.999_008

latest releases: 2.007_000, 2.006000, 2.005_002...
pre-release2 years ago

[ Bug Fixes ]

  • More sensible error message trying to import a type constraint using
    -declare outside a type library.
    Diab Jerius++

[ Other ]

  • Added: Type::Tiny now has an exportables_by_tag method.
  • Added: Type::Tiny::_DeclaredType is now a separate module. (It was
    previously defined inline in Type/Library.pm.)
  • Eval::TypeTiny::type_to_coderef() can now handle being passed undef as a
    type constraint and will create a Type::Tiny::_DeclaredType object to
    wrap instead.
  • If a type library has been made immutable, you can no longer add new
    types and coercions to it.
  • Type::Params signature_for will now delay most of the signature
    compilation until the function is called for the first time, like
    wrap_subs/wrap_methods used to do. It still does enough up-front to
    detect some common errors in signatures.
  • Various Type::Library cleanups.

Don't miss a new Type-Tiny release

NewReleases is sending notifications on new releases.