6 package Role::For::Constructor;
8 has extra_param => (is => 'ro');
14 my $con = Moo->_constructor_maker_for(__PACKAGE__);
15 Moo::Role->apply_roles_to_object($con, 'Role::For::Constructor');
20 package Some::SubClass;
22 extends 'Some::Class';
25 has bar => (is => 'ro');
26 }, undef, 'extending constructor generator works');