Update to 2.002002 (rhbz#2183727)
- New upstream release 2.002002
- Provide //= for default arguments, which are also used when the caller
passes in undef
- Provide more type combinators in parameter declarations: In addition to |
(union types), now ~ & / are also supported (for
complement types, intersection types, and alternative types, respectively)
- Enable type coercions: if a parameter has a declared type and that type
supports coercions ($type->has_coercion returns true), call its
->coerce($value) method to transform arguments before type checking
- Enable inline type checks: if a parameter has a declared type and that
type supports inlining ($type->can_be_inlined returns true), its inline
code (as provided by ->inline_check('$value')) is baked into the function
definition instead of a call to ->check($value), which may speed up type
checks
- Move a big chunk of tests to xt/ (author testing only)
- Remove xt/ from the distribution
- Enable parallel testing by default (with -j4)
- Fix (hopefully) Windows builds using nmake.exe
- Work around old versions of ExtUtils::MakeMaker not providing
is_make_type(), whose version dependency is undocumented (sigh)
- Restrict GNU syntax for exporting variables to type 'gmake'; should fix
building on BSD, Solaris, etc.
- Declare dependency on ExtUtils::MakeMaker 7+ and remove compatibility code
for older versions