trace step actions as well as old/new hyp
Matt S Trout [Wed, 16 Mar 2016 14:35:26 +0000 (14:35 +0000)]
lib/DX/Step/Normal.pm

index 8196461..b8ac7ed 100644 (file)
@@ -30,6 +30,7 @@ sub but_with_alternative_step {
 sub apply_to {
   my ($self, $old_hyp) = @_;
   trace 'step.apply.old_hyp '.$self => $old_hyp;
+  trace 'step.apply.actions '.$self => $self->actions;
   my $new_hyp = $self->_apply_to_hyp($old_hyp);
   return (undef, $self->alternative_step) unless $new_hyp;
   trace 'step.apply.new_hyp '.$self => $new_hyp;