Path to this page:
Subject: CVS commit: pkgsrc/devel/p5-Function-Parameters
From: Makoto Fujiwara
Date: 2017-04-19 14:01:43
Message id: 20170419120143.5B0C7FBE4@cvs.NetBSD.org
Log Message:
Updated devel/p5-Function-Parameters to 2.000006
------------------------------------------------
2.000006 2017-04-16
- work around core bug #129090 / #131146 in perl 5.22 and 5.24:
perl -e 'use Function::Parameters; \&f; fun f() { eval \
"" }' hangs
in the compiler (also happens with perl -d or Devel::Cover instead
of eval) (gh #29)
2.000003 2017-03-31
- fix a bug where method modifiers would inadvertently declare subs
(e.g. 'before foo() {}' acting like 'sub foo;
BEGIN { &before('foo', sub {}) }'), breaking Pkg->can($method) and
thus Class::Method::Modifiers (RT #120804)
- make method modifiers take effect at runtime because otherwise
you'd have to wrap every with()/extends() in a BEGIN block to make
consumed/inherited methods visible to modifiers (RT #120804)
- make method modifiers require a name (what would an anonymous
modifier modify?)
- (hopefully) improve the error message you get for trying to add any
parameters after a slurpy
2.000002 2017-03-27
- default to strict mode
- allow types with multiple arguments (e.g. 'Tuple[Int, String]')
- implement new 'auto' type reifier and use it by default
- allow multiple invocants
- support custom installers
- implement Moo/Moose-style method modifiers
- rework and extend import syntax
- make implicit $self available in default arguments
- call type reifiers from correct package and remove 2nd arg
workaround
- remove :(...) prototype syntax
- remove undocumented 'attrs' option
- drop internal Moo dependency
Files: