fix nested dynamic arg issue for cljs
This commit is contained in:
parent
6f6fa98680
commit
06d3ba548e
2 changed files with 3 additions and 1 deletions
|
|
@ -191,7 +191,7 @@
|
||||||
[e]
|
[e]
|
||||||
|
|
||||||
(sequential? e)
|
(sequential? e)
|
||||||
(ic-possible-params e)))
|
(concat (if (vector? e) [e]) (ic-possible-params e))))
|
||||||
|
|
||||||
|
|
||||||
path)))
|
path)))
|
||||||
|
|
|
||||||
|
|
@ -824,6 +824,8 @@
|
||||||
;; e.g. (terminal-val [v])
|
;; e.g. (terminal-val [v])
|
||||||
(if (identical? NONE (walk-select dynamic-param? identity o))
|
(if (identical? NONE (walk-select dynamic-param? identity o))
|
||||||
(static-val-code o)
|
(static-val-code o)
|
||||||
|
;; done this way so it's compatible with cljs as well (since this dynamic val will be
|
||||||
|
;; a possible param)
|
||||||
(resolve-arg-code (->DynamicVal (walk-until dynamic-param? :code o)) possible-params)
|
(resolve-arg-code (->DynamicVal (walk-until dynamic-param? :code o)) possible-params)
|
||||||
)))
|
)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue