fixed small oversight

This commit is contained in:
Jaime Humberto Macias Bustamante
2026-04-30 11:27:07 -07:00
parent 634d819cc2
commit 2a301ea591
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ class CustomClassHandler implements IHScriptCustomConstructor implements IHScrip
if(f is Property && allowProperty) {
var prop:Property = cast f;
prop.__allowSetGet = this.__allowSetGet;
var r = prop.callGetter(name);
var r = prop.callGetter();
prop.__allowSetGet = null;
return r;
}
@@ -109,7 +109,7 @@ class CustomClassHandler implements IHScriptCustomConstructor implements IHScrip
if(f is Property) {
var prop:Property = cast f;
prop.__allowSetGet = this.__allowSetGet;
var r = prop.callSetter(name, val);
var r = prop.callSetter(val);
prop.__allowSetGet = null;
return r;
}