If I try to add both these functions and call either one of which with IsAnyInherited(Class, {Class, Class});
//------------------------------------------------------------------------------------------------ static bool IsAnyInherited(typename type, notnull array<typename> from) { } //------------------------------------------------------------------------------------------------ static bool IsAnyInherited(Class instance, notnull array<typename> from) { }
I get the error Array initialization of non-array type.. If I remove one overload or rename one of the functions it works flawlessly. Please fix.