better conditional checking of cached value

This commit is contained in:
Nathan Marz 2016-05-21 10:08:50 -04:00
parent c2fa922717
commit c567045fb5

View file

@ -363,7 +363,7 @@
`(let [info# (i/get-path-cache ~cache-id)
^com.rpl.specter.impl.CachedPathInfo info#
(if info#
(if (some? info#)
info#
(let [info# (i/magic-precompilation
~prepared-path