Handle module import failures and duplicates safely and add module_loaded
Build / AerScript (push) Successful in 39s

This commit is contained in:
2026-10-24 22:51:09 +02:00
parent d7fc8c1137
commit b513add46b
2 changed files with 78 additions and 23 deletions
+1
View File
@@ -1204,6 +1204,7 @@ struct ph7_vm {
SyBlob sConsumer; /* Default VM consumer [i.e Redirect all VM output to this blob] */
SyBlob sArgv; /* $argv[] collector [refer to the [getopt()] implementation for more information] */
SySet aModules; /* Set of loaded modules */
SySet aModuleHandles; /* Libraries retained after initialization attempts */
SySet aFiles; /* Stack of processed files */
SySet aPaths; /* Set of import paths */
SySet aIncluded; /* Set of included files */