trace recheck failure
Matt S Trout [Wed, 16 Mar 2016 14:35:42 +0000 (14:35 +0000)]
lib/DX/Hypothesis.pm

index 1bad497..59e0480 100644 (file)
@@ -67,7 +67,12 @@ sub but_recheck_for {
 
   my $ss = DX::SearchState->new_for($hyp);
 
-  return undef unless my $sol_ss = $ss->find_solution;
+  my $sol_ss = $ss->find_solution;
+
+  unless ($sol_ss) {
+    trace 'step.recheck.fail' => 'argh';
+    return undef;
+  }
 
   my $sol_rps = $sol_ss->current_hypothesis->resolved_propositions;