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:
parent
ce42dc4fbe
commit
161d9dc540
19 changed files with 334 additions and 88 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue