mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Made paths with NoReturn calls mark variables as assigned
This commit is contained in:
parent
502c46dc2f
commit
8d0a415eb7
3 changed files with 7 additions and 5 deletions
|
@ -5605,6 +5605,7 @@ BfTypedValue BfExprEvaluator::CreateCall(BfAstNode* targetSrc, BfMethodInstance*
|
|||
{
|
||||
mModule->mCurMethodState->SetHadReturn(true);
|
||||
mModule->mCurMethodState->mLeftBlockUncond = true;
|
||||
mModule->MarkScopeLeft(&mModule->mCurMethodState->mHeadScope, true);
|
||||
}
|
||||
|
||||
if (mModule->mCurTypeInstance != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue