]> gitweb.factorcode.org Git - factor.git/commit
vocabs.cache: Reset the all-disk-vocabs-recursive memoized every time a vocab is...
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 9 Jan 2022 01:32:51 +0000 (19:32 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 9 Jan 2022 01:32:51 +0000 (19:32 -0600)
commit4506409502c7663c2a8d1549f3617e6423d86458
tree478665baa9b758d8352e323b23122f515d924d2c
parent5abf9c8604019c82b3d0bd6af8b592c64c86dacd
vocabs.cache: Reset the all-disk-vocabs-recursive memoized every time a vocab is loaded.

Test case if "fuel.pprint" is not loaded:
all-disk-vocabs-recursive filter-vocabs [ vocab-name "fuel.pprint" = ] filter
"fuel.pprint" load
all-disk-vocabs-recursive filter-vocabs [ vocab-name "fuel.pprint" = ] filter
! vocab-link
! vocab

Fixes #2545
basis/vocabs/cache/cache.factor