fix nested dynamic arg issue for cljs

This commit is contained in:
nathanmarz 2017-04-01 04:45:50 -04:00
parent 6f6fa98680
commit 06d3ba548e
2 changed files with 3 additions and 1 deletions

View file

@ -191,7 +191,7 @@
[e]
(sequential? e)
(ic-possible-params e)))
(concat (if (vector? e) [e]) (ic-possible-params e))))
path)))

View file

@ -824,6 +824,8 @@
;; e.g. (terminal-val [v])
(if (identical? NONE (walk-select dynamic-param? identity 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)
)))