Fixing issue where require-when could create a circularity
parent
305c3de2af
commit
c5530080c4
|
@ -75,7 +75,7 @@ require-when-table [ V{ } clone ] initialize
|
||||||
: load-conditional-requires ( vocab -- )
|
: load-conditional-requires ( vocab -- )
|
||||||
vocab-name require-when-vocabs get in? [
|
vocab-name require-when-vocabs get in? [
|
||||||
require-when-table get [
|
require-when-table get [
|
||||||
[ [ vocab ] all? ] dip
|
[ [ vocab dup [ source-loaded?>> +done+ = ] when ] all? ] dip
|
||||||
[ require ] curry when
|
[ require ] curry when
|
||||||
] assoc-each
|
] assoc-each
|
||||||
] when ;
|
] when ;
|
||||||
|
|
Loading…
Reference in New Issue