1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 12:02:21 +02:00

Fixed comptime-emitted property crash

This commit is contained in:
Brian Fiete 2022-01-06 10:33:12 -05:00
parent 6d014575f1
commit ae399c0ae2

View file

@ -1069,6 +1069,7 @@ void BfDefBuilder::Visit(BfPropertyDeclaration* propertyDeclaration)
ParseAttributes(propertyDeclaration->mAttributes, methodDef);
if (propExprBody->mMutSpecifier != NULL)
methodDef->mIsMutating = true;
if (mSignatureHashCtx != NULL)
HashNode(*mSignatureHashCtx, propExprBody->mMutSpecifier);
}
else if ((methodDeclaration != NULL) && (methodDeclaration->mNameNode != NULL))