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:
parent
56439a88ae
commit
024bd93b0d
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue