diff --git a/module/language/js-il/runtime.js b/module/language/js-il/runtime.js index 8e0480eda..e0fc34da1 100644 --- a/module/language/js-il/runtime.js +++ b/module/language/js-il/runtime.js @@ -476,7 +476,8 @@ scheme.primitives["struct-vtable"] = function(struct) { }; scheme.primitives["struct-set!"] = function (struct, idx, obj) { - return struct.fields[idx] = obj; + struct.fields[idx] = obj; + return; }; scheme.primitives["struct-ref"] = function (struct, idx) {