fix type unification of withValueOrInputBox

This commit is contained in:
2021-12-03 17:37:25 -07:00
parent ef9d00b08b
commit cfa76370a9

View File

@@ -59,10 +59,13 @@
// Macros for implementing commands in Kiss
(defMacro withValueOrInputBox [v &body body]
`(if ,v
`{
(if ,v
{,@body}
(awaitLet [,v (inputBox)]
,@body)))
,@body))
null
})
(defMacro withValueOrQuickPick [v options &body body]
`(if ,v