1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-19 18:20:22 +02:00

Argument to make-fluid is optional

* module/language/js-il/runtime.js(make-fluid): Supply default argument
This commit is contained in:
Ian Price 2017-08-16 21:44:04 +01:00
parent fd2445fcf4
commit 7e5d9d945e

View file

@ -1162,6 +1162,9 @@ def_guile0("string-join", function (self, cont, strings) {
// Fluids
def_guile0("make-fluid", function (self, cont, val) {
if (val === undefined) {
val = scheme.FALSE;
}
return cont(new scheme.Fluid(val));
});