mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed bug from new default ctor
This commit is contained in:
parent
6ba8bdc14c
commit
c48c292f78
3 changed files with 44 additions and 29 deletions
|
@ -5480,7 +5480,7 @@ BfTypedValue BfExprEvaluator::MatchConstructor(BfAstNode* targetSrc, BfMethodBou
|
|||
if (callCtorBodyOnly)
|
||||
{
|
||||
// We're calling the base class's ctor from a derived class
|
||||
if (checkProt == BfProtection_Private)
|
||||
if (checkProt <= BfProtection_Private)
|
||||
continue;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue