UClass::HasProperty bug

the UClass::HasProperty implements as:
if ( UClass* PropertiesClass = dynamic_cast(InProperty->GetOuter()) )
{
return PropertiesClass->FindNearestCommonBaseClass(this) != nullptr;
}
return false;

I think it should not use FindNearestCommonBaseClass.

when the PropertiesClass is the child of this UClass, then the property is only in PropertiesClass, so UClass::HasProperty should return false. but FindNearestCommonBaseClass still return true

Hello,

We’ve recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://epicsupport.force.com/unrealengine/s/

Thanks