mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Null conditional var check
This commit is contained in:
parent
4c70e6e0af
commit
8f83d15429
1 changed files with 4 additions and 1 deletions
|
@ -8015,6 +8015,9 @@ BfTypedValue BfModule::FlushNullConditional(BfTypedValue result, bool ignoreNull
|
|||
|
||||
if ((result) && (!ignoreNullable))
|
||||
{
|
||||
if (result.mType->IsVar())
|
||||
return result;
|
||||
|
||||
auto notNullBB = mBfIRBuilder->GetInsertBlock();
|
||||
|
||||
//TODO: Make this work, needed for 'void' and such
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue