fix type unification of withValueOrInputBox
This commit is contained in:
@@ -59,10 +59,13 @@
|
|||||||
// Macros for implementing commands in Kiss
|
// Macros for implementing commands in Kiss
|
||||||
|
|
||||||
(defMacro withValueOrInputBox [v &body body]
|
(defMacro withValueOrInputBox [v &body body]
|
||||||
`(if ,v
|
`{
|
||||||
{,@body}
|
(if ,v
|
||||||
(awaitLet [,v (inputBox)]
|
{,@body}
|
||||||
,@body)))
|
(awaitLet [,v (inputBox)]
|
||||||
|
,@body))
|
||||||
|
null
|
||||||
|
})
|
||||||
|
|
||||||
(defMacro withValueOrQuickPick [v options &body body]
|
(defMacro withValueOrQuickPick [v options &body body]
|
||||||
`(if ,v
|
`(if ,v
|
||||||
|
Reference in New Issue
Block a user