mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Fixed initializer blocks on valueless structs
This commit is contained in:
parent
68edae2a35
commit
1805316b70
1 changed files with 1 additions and 1 deletions
|
@ -18951,7 +18951,7 @@ void BfModule::EmitCtorBody(bool& skipBody)
|
|||
auto diVariable = mBfIRBuilder->DbgCreateAutoVariable(mCurMethodState->mCurScope->mDIScope,
|
||||
"this", mCurFilePosition.mFileInstance->mDIFile, mCurFilePosition.mCurLine, mBfIRBuilder->DbgGetType(thisType));
|
||||
|
||||
//
|
||||
if (!mCurTypeInstance->IsValuelessType())
|
||||
{
|
||||
auto loadedThis = GetThis();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue