mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Fixed default ctor base ctor calling when base has extensions
This commit is contained in:
parent
c91c81f77d
commit
c2490278fa
1 changed files with 14 additions and 8 deletions
|
@ -17622,6 +17622,12 @@ void BfModule::EmitCtorBody(bool& skipBody)
|
|||
{
|
||||
if (checkMethodDef->mParams.size() == 0)
|
||||
{
|
||||
if (matchedMethod != NULL)
|
||||
{
|
||||
// Has multiple matched methods - can happen from extensions
|
||||
matchedMethod = NULL;
|
||||
break;
|
||||
}
|
||||
matchedMethod = checkMethodDef;
|
||||
}
|
||||
else if (isHiddenGenerated)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue