mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed invalid generic inference from generic constraints
This commit is contained in:
parent
4189d10f41
commit
03e28f3add
4 changed files with 35 additions and 3 deletions
|
@ -7483,8 +7483,8 @@ String BfModule::GenericParamSourceToString(const BfGenericParamSource & generic
|
|||
{
|
||||
if (genericParamSource.mMethodInstance != NULL)
|
||||
{
|
||||
auto methodInst = GetUnspecializedMethodInstance(genericParamSource.mMethodInstance, false);
|
||||
SetAndRestoreValue<BfMethodInstance*> prevMethodInst(methodInst, NULL);
|
||||
//auto methodInst = GetUnspecializedMethodInstance(genericParamSource.mMethodInstance, false);
|
||||
//SetAndRestoreValue<BfMethodInstance*> prevMethodInst(mCurMethodInstance, methodInst);
|
||||
return MethodToString(genericParamSource.mMethodInstance);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue