From cd6f5a0f5943d605bb553302bd634691e2e577d4 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Fri, 11 Dec 2015 16:25:03 +1300 Subject: [PATCH] Remove dead code --- prospect/actor.rkt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/prospect/actor.rkt b/prospect/actor.rkt index adcbf01..fc8210a 100644 --- a/prospect/actor.rkt +++ b/prospect/actor.rkt @@ -159,14 +159,7 @@ (lambda reply-values (call-with-continuation-prompt (lambda () (apply k reply-values) - (error 'reply-to "Script returned directly") - ;; TODO: v - #;(with-handlers [((lambda (e) #t) - (lambda (exn) - (call-in-raw-context/abort - (lambda () (quit-instruction exn '())))))] - (apply k reply-values) - (error 'reply-to "Script returned directly"))) + (error 'reply-to "Script returned directly")) prompt))) ;; (-> Instruction) -> Nothing