guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 82/99: pop-fluid uses field of frame not fluid


From: Christopher Allan Webber
Subject: [Guile-commits] 82/99: pop-fluid uses field of frame not fluid
Date: Sun, 10 Oct 2021 21:51:10 -0400 (EDT)

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

commit b84797947d2d4944902903d1dc14117f2c2faa9c
Author: Ian Price <ianprice90@googlemail.com>
AuthorDate: Wed Aug 16 21:44:48 2017 +0100

    pop-fluid uses field of frame not fluid
    
    * module/language/js-il/runtime.js(pop-fluid): Fix primitive.
---
 module/language/js-il/runtime.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/language/js-il/runtime.js b/module/language/js-il/runtime.js
index 1052479..5591baa 100644
--- a/module/language/js-il/runtime.js
+++ b/module/language/js-il/runtime.js
@@ -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";



reply via email to

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