fix type error

This commit is contained in:
2023-07-17 14:20:58 -06:00
parent d9f8f5dd47
commit 830b9b1453

View File

@@ -57,6 +57,10 @@ class ObjectInterp<T> extends Interp {
}
public override function expr( e : hscript.Expr ) : Dynamic {
var curExpr = e;
#if hscriptPos
var e = e.e;
#end
switch( e ) {
case ECall(e,params):
switch( hscript.Tools.expr(e) ) {
@@ -69,7 +73,7 @@ class ObjectInterp<T> extends Interp {
}
default:
}
return super.expr(e);
return super.expr(curExpr);
}
}