1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

modules should be passed current continuation

* module/language/js-il/runtime.js (primitive-load-path): modules
  should be passed the current continuation.
This commit is contained in:
Ian Price 2017-08-11 14:02:13 +01:00
parent 56439a88ae
commit 024bd93b0d

View file

@ -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();