some docs + small optimizations

This commit is contained in:
Jaime Humberto Macias Bustamante
2026-05-29 10:23:56 -07:00
parent 77fae88890
commit 3add08e0ee
3 changed files with 33 additions and 20 deletions
+1
View File
@@ -1803,6 +1803,7 @@ class Interp {
if (usingHandler.usingEntries.iterator().hasNext()) { // If is not empty
var v:Dynamic = null;
var clsName:String = o is CustomClassHandler ? cast(o, CustomClassHandler).name : Type.getClassName(Type.getClass(o));
// TODO: optimize this
if(!usingHandler.entryExists(clsName)) {
for (n => us in usingHandler.usingEntries) {
if (us.hasField(f)) {