Permalink
Browse files

Merge pull request #46 from zoffixznet/patch-2

Shut up "Useless use of &thrown in sink context" warning
  • Loading branch information...
2 parents e7533bd + b8a5adc commit a15d6ba381b3ccaa757e926ff3e17839439f16fa @jnthn committed on GitHub Jun 19, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Debugger/UI/CommandLine.pm
@@ -683,7 +683,7 @@ my $CUR_EX;
if DebugState.should_break_on_throw() {
$IN_THROWN = 1;
$CUR_EX = $e;
- nqp::call(&thrown, $vm_ex);
+ $ = nqp::call(&thrown, $vm_ex);
$IN_THROWN = 0;
}
}

0 comments on commit a15d6ba

Please sign in to comment.