mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 18:18:00 +02:00
Auto ctor fixes
This commit is contained in:
parent
87f3aa0335
commit
44ecb92315
12 changed files with 221 additions and 127 deletions
|
@ -49,7 +49,7 @@ BfTypedValue BfConstResolver::Resolve(BfExpression* expr, BfType* wantType, BfCo
|
|||
if (mModule->mContext->mCurTypeState != NULL)
|
||||
{
|
||||
if (mModule->mContext->mCurTypeState->mCurFieldDef != NULL)
|
||||
initializer = mModule->mContext->mCurTypeState->mCurFieldDef->mInitializer;
|
||||
initializer = mModule->mContext->mCurTypeState->mCurFieldDef->GetInitializer();
|
||||
if (mModule->mContext->mCurTypeState->mCurVarInitializer != NULL)
|
||||
initializer = mModule->mContext->mCurTypeState->mCurVarInitializer;
|
||||
if (mModule->mContext->mCurTypeState->mArrayInitializerSize != -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue