Skip to content

Commit

Permalink
immutablize earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
kentfredric committed Mar 10, 2017
1 parent 319243f commit becb985
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Gentoo/MetaEbuild/Spec/Base.pm
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ class_has '_schema_creator' => (
handles => { _make_schema => 'execute', },
);

__PACKAGE__->meta->make_immutable;
no Moose;

sub _build__schema_creator {
require Data::Rx;
my $rx = Data::Rx->new();
Expand Down Expand Up @@ -134,9 +137,6 @@ sub check {
return $self->_schema($opts)->check($json_data);
}

__PACKAGE__->meta->make_immutable;
no Moose;

1;

=head1 SYNOPSIS
Expand Down

0 comments on commit becb985

Please sign in to comment.