guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 71/99: modules should be passed current continuation


From: Christopher Allan Webber
Subject: [Guile-commits] 71/99: modules should be passed current continuation
Date: Sun, 10 Oct 2021 21:51:06 -0400 (EDT)

cwebber pushed a commit to branch compile-to-js-merge
in repository guile.

commit 024bd93b0d6ee6ebf03467dd5cbb6eb37d46713f
Author: Ian Price <ianprice90@googlemail.com>
AuthorDate: Fri Aug 11 14:02:13 2017 +0100

    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 970e33c..c9328a6 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();



reply via email to

[Prev in Thread] Current Thread [Next in Thread]