mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Default ctor fix with emitted ctors
This commit is contained in:
parent
049118bb32
commit
82c1125a68
4 changed files with 50 additions and 2 deletions
|
@ -26000,7 +26000,7 @@ void BfModule::CheckOverridenMethod(BfMethodInstance* methodInstance, BfMethodIn
|
|||
auto prevProtection = methodOverriden->mMethodDef->mProtection;
|
||||
if ((methodDef->mProtection != prevProtection) && (methodDef->mMethodType != BfMethodType_Dtor))
|
||||
{
|
||||
const char* protectionNames[] = { "hidden", "private", "internal", "protected", "protected internal", "public" };
|
||||
const char* protectionNames[] = { "disabled", "hidden", "private", "internal", "protected", "protected internal", "public" };
|
||||
BF_STATIC_ASSERT(BF_ARRAY_COUNT(protectionNames) == BfProtection_COUNT);
|
||||
BfAstNode* protectionRefNode = NULL;
|
||||
if (auto propertyMethodDeclaration = methodDef->GetPropertyMethodDeclaration())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue