remove direct function call handling

after testing, it turns out that trying to handle the direct getter/setter function will be so complex than I thought.
This commit is contained in:
Jaime Humberto Macias Bustamante
2026-06-20 23:23:10 -07:00
parent 44d8b1e0e1
commit 92e458876e
5 changed files with 4 additions and 31 deletions
-2
View File
@@ -93,7 +93,6 @@ class CustomClassHandler implements IHScriptCustomConstructor implements IHScrip
if(f is Property && allowProperty) {
var prop:Property = cast f;
prop.__allowSetGet = this.__allowSetGet;
prop.__callingProperty = true;
var r = prop.callGetter();
prop.__allowSetGet = true;
return r;
@@ -106,7 +105,6 @@ class CustomClassHandler implements IHScriptCustomConstructor implements IHScrip
if(f is Property) {
var prop:Property = cast f;
prop.__allowSetGet = this.__allowSetGet;
prop.__callingProperty = true;
var r = prop.callSetter(val);
prop.__allowSetGet = true;
return r;