8000 swap new returns the new value swapped in · repos-javascript-compilers/ki@69cdef0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 69cdef0

Browse files
committed
swap new returns the new value swapped in
1 parent aec96cd commit 69cdef0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

macros/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ macro _sexpr {
487487
(function () {
488488
var ref = _sexpr $ref;
489489
var val = ref._ki_val;
490-
_sexpr (reset ref ($fn val $args ...))
490+
return _sexpr (reset ref ($fn val $args ...))
491491
}.bind(this)())
492492
}
493493

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ki",
3-
"version": "0.1.18",
3+
"version": "0.1.19",
44
"description": "lisp + mori, sweet.js",
55
"repository": {
66
"type": "git",

src/ki.sjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ macro _sexpr {
487487
(function () {
488488
var ref = _sexpr $ref;
489489
var val = ref._ki_val;
490-
_sexpr (reset ref ($fn val $args ...))
490+
return _sexpr (reset ref ($fn val $args ...))
491491
}.bind(this)())
492492
}
493493

0 commit comments

Comments
 (0)
0