From: Matt S Trout Date: Thu, 16 Feb 2017 17:59:27 +0000 (+0000) Subject: add types to ConsiderProposition step X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f9dfc3107944b2c34037a8a85781de9bc690dc47;p=scpubgit%2FDX.git add types to ConsiderProposition step --- diff --git a/lib/DX/Step/ConsiderProposition.pm b/lib/DX/Step/ConsiderProposition.pm index a4a98a9..59d55ab 100644 --- a/lib/DX/Step/ConsiderProposition.pm +++ b/lib/DX/Step/ConsiderProposition.pm @@ -4,7 +4,7 @@ use DX::Class; with 'DX::Role::Step'; -has proposition => (is => 'ro', required => 1); +has proposition => (is => 'ro', isa => Proposition, required => 1); sub apply_to { my ($self, $ss) = @_;