From ee6874cf88614e7650ec3b028e239a6684faaf84 Mon Sep 17 00:00:00 2001 From: Vishesh Yadav Date: Fri, 12 Jun 2015 14:59:08 -0400 Subject: [PATCH] Revert "trying to get rid of the current success handler." FIXES #34 Reverted patch, added success handler to end of call stack, which is not getting called. We already have separate handlers for error, so we might as well have one for success explicitely. This reverts commit 0428a021bd2e94953c3b3086d2c5fa1cbd5dbb81. Conflicts: whalesong/js-assembler/assemble.rkt whalesong/js-assembler/runtime-src/runtime.js --- whalesong/js-assembler/assemble.rkt | 2 +- whalesong/js-assembler/runtime-src/runtime.js | 2 ++ whalesong/tests/test-assemble.rkt | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/whalesong/js-assembler/assemble.rkt b/whalesong/js-assembler/assemble.rkt index 589deee..9f8306c 100644 --- a/whalesong/js-assembler/assemble.rkt +++ b/whalesong/js-assembler/assemble.rkt @@ -65,6 +65,7 @@ (display (assemble-current-interned-constant-closure-table) op) (display "M.params.currentErrorHandler = fail;\n" op) + (display "M.params.currentSuccessHandler = success;\n" op) (display #<