From 024bd93b0d6ee6ebf03467dd5cbb6eb37d46713f Mon Sep 17 00:00:00 2001 From: Ian Price Date: Fri, 11 Aug 2017 14:02:13 +0100 Subject: [PATCH] modules should be passed current continuation * module/language/js-il/runtime.js (primitive-load-path): modules should be passed the current continuation. --- module/language/js-il/runtime.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/module/language/js-il/runtime.js b/module/language/js-il/runtime.js index 970e33c65..c9328a675 100644 --- a/module/language/js-il/runtime.js +++ b/module/language/js-il/runtime.js @@ -1085,8 +1085,7 @@ var boot_modules = {}; function scm_primitive_load_path (self, cont, path) { if (path.s in boot_modules) { - boot_modules[path.s](); // FIXME: note modules should share cont? - return cont(scheme.UNDEFINED); + return boot_modules[path.s](cont); } else { console.log("primitive load path", arguments); not_implemented_yet();