notes about actions being disallowed
Matt S Trout [Mon, 16 Apr 2018 02:17:23 +0000 (02:17 +0000)]
lib/DX/Step/ResolveProposition.pm

index 6cf99b9..7c7a454 100644 (file)
@@ -56,6 +56,9 @@ sub apply_to {
   (my $hyp, my @recheck) = $old_hyp->with_resolution(
     $prop, $vdeps, $res->actions
   );
+  # Failure to have a $hyp here means an action was disallowed by policy
+  # or failed - unsure if "failed" should be permitted and unsure if policy
+  # checks belong in with_resolution
   unless ($hyp) {
     return $old_ss->but(
       next_step