mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 23:34:10 +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 (checkMethodDef->mParams.size() == 0)
|
||||||
{
|
{
|
||||||
|
if (matchedMethod != NULL)
|
||||||
|
{
|
||||||
|
// Has multiple matched methods - can happen from extensions
|
||||||
|
matchedMethod = NULL;
|
||||||
|
break;
|
||||||
|
}
|
||||||
matchedMethod = checkMethodDef;
|
matchedMethod = checkMethodDef;
|
||||||
}
|
}
|
||||||
else if (isHiddenGenerated)
|
else if (isHiddenGenerated)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue