1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Disable autoprop for indexer

This commit is contained in:
Brian Fiete 2025-01-04 12:26:21 -08:00
parent b922c486ec
commit 34cfe603e6
2 changed files with 5 additions and 5 deletions

View file

@ -22008,7 +22008,7 @@ void BfModule::ProcessMethod(BfMethodInstance* methodInstance, bool isInlineDup,
if ((propertyDeclaration != NULL) && (!typeDef->HasAutoProperty(propertyDeclaration)))
{
if ((!mCurTypeInstance->IsInterface()) && (!hasExternSpecifier))
Fail("Body expected", methodDef->mBody);
Fail("Body expected", methodDef->GetRefNode());
}
else if (methodDef->mMethodType == BfMethodType_PropertyGetter)
{