mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed comptime-emitted property crash
This commit is contained in:
parent
6d014575f1
commit
ae399c0ae2
1 changed files with 2 additions and 1 deletions
|
@ -1069,7 +1069,8 @@ void BfDefBuilder::Visit(BfPropertyDeclaration* propertyDeclaration)
|
||||||
ParseAttributes(propertyDeclaration->mAttributes, methodDef);
|
ParseAttributes(propertyDeclaration->mAttributes, methodDef);
|
||||||
if (propExprBody->mMutSpecifier != NULL)
|
if (propExprBody->mMutSpecifier != NULL)
|
||||||
methodDef->mIsMutating = true;
|
methodDef->mIsMutating = true;
|
||||||
HashNode(*mSignatureHashCtx, propExprBody->mMutSpecifier);
|
if (mSignatureHashCtx != NULL)
|
||||||
|
HashNode(*mSignatureHashCtx, propExprBody->mMutSpecifier);
|
||||||
}
|
}
|
||||||
else if ((methodDeclaration != NULL) && (methodDeclaration->mNameNode != NULL))
|
else if ((methodDeclaration != NULL) && (methodDeclaration->mNameNode != NULL))
|
||||||
methodName = methodDeclaration->mNameNode->ToString();
|
methodName = methodDeclaration->mNameNode->ToString();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue