add a few more type annotations
[scpubgit/DX.git] / lib / DX / Resolution.pm
CommitLineData
9d759b64 1package DX::Resolution;
2
3use DX::Class;
4
5has proposition => (is => 'ro', required => 1);
6
7has dependencies => (is => 'ro', required => 1);
8
9has scope_depth => (is => 'ro', required => 1);
10
11sub but_recheck_against {
12 my ($self, $hyp) = @_;
13 my $scope_hyp = $hyp->but(
14 scope => $hyp->scope->prune_to($self->scope_depth)
15 );
16}
17
181;