X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FUndefTolerant%2FClass.pm;h=13d13803d968d56251c6868b781389aaa441754f;hb=dc3621bc7d4b8f216ea39ed9458714eb1c959b9d;hp=3aa9ac0fb86dc0aebb24e7b2457194e99af9e8ab;hpb=aeb57613366fe3838ccfbd5b41952a3d8c1b3ce4;p=gitmo%2FMooseX-UndefTolerant.git diff --git a/lib/MooseX/UndefTolerant/Class.pm b/lib/MooseX/UndefTolerant/Class.pm index 3aa9ac0..13d1380 100644 --- a/lib/MooseX/UndefTolerant/Class.pm +++ b/lib/MooseX/UndefTolerant/Class.pm @@ -7,6 +7,9 @@ use warnings; use Moose::Role; +# TODO: this code should be in the attribute trait, in the inlined version of +# initialize_instance_slot, but this does not yet exist! + around _inline_init_attr_from_constructor => sub { my $orig = shift; my $self = shift;