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

Added ZeroGap to AllowAppend

This commit is contained in:
Brian Fiete 2025-01-27 09:17:45 -08:00
parent ce42dc4fbe
commit 161d9dc540
19 changed files with 334 additions and 88 deletions

View file

@ -2520,7 +2520,7 @@ bool BfAutoComplete::GetMethodInfo(BfMethodInstance* methodInst, StringImpl* sho
auto methodDeclaration = methodDef->GetMethodDeclaration();
if (methodDef->mHasAppend)
if (methodDef->HasAppend())
methodPrefix += "[AllowAppend]\r";
if (isInterface)
@ -4083,7 +4083,7 @@ void BfAutoComplete::FixitAddConstructor(BfTypeInstance *typeInstance)
int insertPos = FixitGetMemberInsertPos(mModule->mCurTypeInstance->mTypeDef);
String methodStr = "\f\a";
if (methodInstance->mMethodDef->mHasAppend)
if (methodInstance->mMethodDef->HasAppend())
methodStr += "[AllowAppend]\r";
methodStr += "public this(";
int useParamIdx = 0;