mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed MethodToString issue with missing generic interface method
This commit is contained in:
parent
accc95671d
commit
f8175e84a1
1 changed files with 3 additions and 0 deletions
|
@ -9781,6 +9781,9 @@ String BfModule::MethodToString(BfMethodInstance* methodInst, BfMethodNameFlags
|
|||
String methodName;
|
||||
if ((methodNameFlags & BfMethodNameFlag_OmitTypeName) == 0)
|
||||
{
|
||||
// Don't use the 'mCurMethodInstance' owner for the type instance if there's one already set
|
||||
SetAndRestoreValue<BfMethodInstance*> prevMethodInstance(mCurMethodInstance, NULL);
|
||||
|
||||
methodName = TypeToString(type, typeNameFlags);
|
||||
if (methodName == "$")
|
||||
methodName = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue