1
0
Fork 0
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:
Brian Fiete 2020-01-25 10:04:52 -08:00
parent 6ba8bdc14c
commit c48c292f78
3 changed files with 44 additions and 29 deletions

View file

@ -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