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

Fix fixit for static interface properties.

This commit is contained in:
Fusion 2021-06-06 03:12:50 +02:00
parent dbd721f479
commit 3d58885cef

View file

@ -2336,6 +2336,8 @@ bool BfAutoComplete::GetMethodInfo(BfMethodInstance* methodInst, StringImpl* sho
if (!isInterface)
impl += "override ";
else if (methodDef->mIsStatic)
impl += "static ";
BfType* propType = methodInst->mReturnType;
if (methodDef->mMethodType == BfMethodType_PropertySetter)