mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
Remove invalid ignoreWrites
This commit is contained in:
parent
2f6484894e
commit
2b7c80282b
1 changed files with 0 additions and 2 deletions
|
@ -19129,8 +19129,6 @@ void BfModule::ProcessMethod_SetupParams(BfMethodInstance* methodInstance, BfTyp
|
|||
auto genericParamInst = unspecializedMethodInstance->mMethodInfoEx->mGenericParams[genericParamType->mGenericParamIdx];
|
||||
if (genericParamInst->mTypeConstraint != NULL)
|
||||
{
|
||||
SetAndRestoreValue<bool> prevIgnoreWrites(mBfIRBuilder->mIgnoreWrites, true);
|
||||
|
||||
BfExprEvaluator exprEvaluator(this);
|
||||
exprEvaluator.mExpectingType = genericParamInst->mTypeConstraint;
|
||||
exprEvaluator.GetLiteral(NULL, constExprValueType->mValue);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue