fixed small oversight
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user