[Haxe] create a pointer to a super method?

Is it poissble to call a super method via Reflect.callMethod?
The reason i need this is that i have the variables in an Array form at that point so i cant call this method in the “orthodox” way…

code example:
This is what i’m trying to get to but im getting errors:

override public function someFunction(arg1, arg2, arg3)
{
    Reflect.callMethod(super, "someFunction", args);
}

Workaround:

public function super_someFunction(arg1, arg2, arg3)
{
    super.someFunction(arg1, arg2, arg3);
}

override public function someFunction(arg1, arg2, arg3)
{
    Reflect.callMethod(this, "super_someFunction", [arg1, arg2, arg3]);
}
2 Likes

Thats a great workaround, thanks!