Restrict require to global scope and track required files independently
Build / AerScript (push) Successful in 40s
Build / AerScript (push) Successful in 40s
This commit is contained in:
@@ -1208,6 +1208,7 @@ struct ph7_vm {
|
||||
SySet aFiles; /* Stack of processed files */
|
||||
SySet aPaths; /* Set of import paths */
|
||||
SySet aIncluded; /* Set of included files */
|
||||
SyHash hRequired; /* Resolved require paths, including pending evaluations */
|
||||
SySet aOB; /* Stackable output buffers */
|
||||
SySet aAutoLoad; /* Stack of class autoload callbacks */
|
||||
SySet aShutdown; /* Stack of shutdown user callbacks */
|
||||
|
||||
Reference in New Issue
Block a user