mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-19 18:20:22 +02:00
pop-fluid uses field of frame not fluid
* module/language/js-il/runtime.js(pop-fluid): Fix primitive.
This commit is contained in:
parent
7e5d9d945e
commit
b84797947d
1 changed files with 1 additions and 1 deletions
|
@ -760,7 +760,7 @@ var the_module = new scheme.Fluid(scheme.FALSE);
|
|||
scheme.primitives["pop-fluid"] = function () {
|
||||
var frame = scheme.dynstack.shift();
|
||||
if (frame instanceof scheme.frame.Fluid) {
|
||||
frame.fluid.value = frame.fluid.old_value;
|
||||
frame.fluid.value = frame.old_value;
|
||||
return;
|
||||
} else {
|
||||
throw "not a frame";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue