mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed some 'var' handling cases where module hasn't failed
This commit is contained in:
parent
7b29a4facb
commit
f830e23c52
3 changed files with 200 additions and 191 deletions
|
@ -9097,11 +9097,8 @@ BfTypedValue BfModule::FlushNullConditional(BfTypedValue result, bool ignoreNull
|
|||
{
|
||||
auto pendingNullCond = mCurMethodState->mPendingNullConditional;
|
||||
|
||||
if ((result) && (!ignoreNullable))
|
||||
{
|
||||
if (result.mType->IsVar())
|
||||
return result;
|
||||
|
||||
if ((result) && (!result.mType->IsVar()) && (!ignoreNullable))
|
||||
{
|
||||
auto notNullBB = mBfIRBuilder->GetInsertBlock();
|
||||
|
||||
//TODO: Make this work, needed for 'void' and such
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue