]> gitweb.factorcode.org Git - factor.git/commitdiff
Fix stack effect decl in listener.factor and mismatched dynamic stack effect for...
authorErik Charlebois <erikcharlebois@gmail.com>
Sat, 13 Feb 2010 11:50:04 +0000 (03:50 -0800)
committerErik Charlebois <erikcharlebois@gmail.com>
Sat, 13 Feb 2010 11:50:04 +0000 (03:50 -0800)
basis/listener/listener.factor
extra/fuel/remote/remote.factor

index 168971aeee9771a086c581b3dacc231ebc88e9a9..96db935f07cae6ada9e70c5d83049aaccb68bd13 100644 (file)
@@ -48,7 +48,7 @@ SYMBOL: error-hook
 
 : call-error-hook ( error -- )
     error-continuation get error-hook get
-    call( error continuation -- ) ;
+    call( continuation error -- ) ;
 
 [ drop print-error-and-restarts ] error-hook set-global
 
index d3b48efac696e858ab40132ddf112ada637e25d8..97ab5b59db78bfd5b406d94c3ba4478e753c0212 100644 (file)
@@ -8,7 +8,7 @@ IN: fuel.remote
 <PRIVATE
 
 : start-listener ( -- )
-    [ [ print-error-and-restarts ] error-hook set listener ] with-scope ;
+    [ [ print-error-and-restarts drop ] error-hook set listener ] with-scope ;
 
 : server ( port -- server )
     utf8 <threaded-server>