we don't need to add anything to illegal, as we were only adding to legal
has lazy_fail =>
(is => 'ro', reader => 'is_lazy_fail', required => 1, default => 0);
-around legal_options_for_inheritance => sub {
- return (shift->(@_), qw/valid_values/);
-};
+if ( $Moose::VERSION < 1.09 ) {
+ around legal_options_for_inheritance => sub {
+ return (shift->(@_), qw/valid_values/);
+ };
+}
around _process_options => sub {
my $super = shift;