mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
New function/delegate casting rules, similar to tuple rules
This commit is contained in:
parent
c62dbdf811
commit
de6a68911a
8 changed files with 143 additions and 32 deletions
|
@ -7024,6 +7024,7 @@ void BfCompiler::GenerateAutocompleteInfo()
|
|||
|
||||
int dispParamIdx = 0;
|
||||
|
||||
StringT<64> paramName;
|
||||
for (int paramIdx = 0; paramIdx < (int)methodInstance->GetParamCount(); paramIdx++)
|
||||
{
|
||||
auto paramKind = methodInstance->GetParamKind(paramIdx);
|
||||
|
@ -7083,8 +7084,12 @@ void BfCompiler::GenerateAutocompleteInfo()
|
|||
}
|
||||
else
|
||||
methodText += bfModule->TypeToString(type, BfTypeNameFlag_ResolveGenericParamNames, genericMethodNameOverridesPtr);
|
||||
methodText += " ";
|
||||
methodText += methodInstance->GetParamName(paramIdx);
|
||||
methodInstance->GetParamName(paramIdx, paramName);
|
||||
if (!paramName.IsEmpty())
|
||||
{
|
||||
methodText += " ";
|
||||
methodText += paramName;
|
||||
}
|
||||
|
||||
if (paramInitializer != NULL)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue