mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed auto-prop issues
This commit is contained in:
parent
a17f8961b0
commit
6ae5d2e7aa
3 changed files with 39 additions and 47 deletions
|
@ -790,7 +790,7 @@ bool BfTypeDef::HasAutoProperty(BfPropertyDeclaration* propertyDeclaration)
|
|||
|
||||
for (auto methodDeclaration : propertyDeclaration->mMethods)
|
||||
{
|
||||
if (BfNodeDynCast<BfTokenNode>(methodDeclaration->mBody) != NULL)
|
||||
if (methodDeclaration->mBody == NULL)
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue