add case to automatically factor string for cached path if it is extended as a navigator

This commit is contained in:
Nathan Marz 2016-05-22 09:25:33 -04:00
parent fcb5e013d4
commit 50b02c17f0

View file

@ -783,6 +783,10 @@
(keyword? p)
p
;; in case anyone extends String for their own use case
(and (string? p) (valid-navigator? p))
p
:else
(magic-fail! "Code " p " is not a valid navigator or can't be factored")
)