]> gitweb.factorcode.org Git - factor.git/blobdiff - core/continuations/continuations.factor
ui.debugger: quotation stack effect wants ( .. -- * ), throw causes infinite loop...
[factor.git] / core / continuations / continuations.factor
index dbe645b82886699e5ef52694ef42b1fc0fbad2a2..20ea0fe399a51059976faa2d3df222ad59e68d6d 100644 (file)
@@ -119,7 +119,7 @@ GENERIC: error-in-thread ( error thread -- * )
 
 SYMBOL: thread-error-hook ! ( error thread -- * )
 
-thread-error-hook [ [ die drop throw ] ] initialize
+thread-error-hook [ [ die drop rethrow ] ] initialize
 
 M: object error-in-thread
     thread-error-hook get-global call( error thread -- * ) ;
@@ -128,7 +128,7 @@ M: object error-in-thread
 
 SYMBOL: callback-error-hook ! ( error -- * )
 
-callback-error-hook [ [ die throw ] ] initialize
+callback-error-hook [ [ die rethrow ] ] initialize
 
 : rethrow ( error -- * )
     dup save-error